Method | Description | |
---|---|---|
CreateAndExecuteRequest ( string url ) : JToken | ||
CreateGet ( string url ) : |
||
CreatePost ( string url ) : |
||
CreateRequest ( string url, string method ) : |
||
ExecuteRequest ( |
Executes the web request and handles errors in the response
|
|
GetResponseString ( Stream stream ) : string | ||
SNWebAgent ( ) : System | ||
SNWebAgent ( string accessToken ) : System | ||
WritePostBody ( Stream stream, object data ) : void |
Method | Description | |
---|---|---|
CreateGet ( |
||
CreateRequest ( |
||
EnforceRateLimit ( ) : void |
public CreateAndExecuteRequest ( string url ) : JToken | ||
url | string | |
return | JToken |
public CreateGet ( string url ) : |
||
url | string | |
return |
public CreatePost ( string url ) : |
||
url | string | |
return |
public CreateRequest ( string url, string method ) : |
||
url | string | |
method | string | |
return |
public ExecuteRequest ( |
||
request | ||
return | JToken |
public GetResponseString ( Stream stream ) : string | ||
stream | Stream | |
return | string |
public SNWebAgent ( string accessToken ) : System | ||
accessToken | string | |
return | System |
public WritePostBody ( Stream stream, object data ) : void | ||
stream | Stream | |
data | object | |
return | void |