Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
CreateGet ( |
||
CreateRequest ( |
||
EnforceRateLimit ( ) : void |
public CreateAndExecuteRequest ( string url ) : JToken | ||
url | string | |
Результат | JToken |
public CreateGet ( string url ) : |
||
url | string | |
Результат |
public CreatePost ( string url ) : |
||
url | string | |
Результат |
public CreateRequest ( string url, string method ) : |
||
url | string | |
method | string | |
Результат |
public ExecuteRequest ( |
||
request | ||
Результат | JToken |
public GetResponseString ( Stream stream ) : string | ||
stream | Stream | |
Результат | string |
public SNWebAgent ( string accessToken ) : System | ||
accessToken | string | |
Результат | System |
public WritePostBody ( Stream stream, object data ) : void | ||
stream | Stream | |
data | object | |
Результат | void |