Метод | Описание | |
---|---|---|
Delete ( string createUrl ) : void | ||
Get ( string url ) : HttpResponse | ||
GetAsFile ( string url, string tempFileName ) : HttpResponse | ||
HttpClientWrapper ( ) : EasyHttp.Http | ||
Post ( string url, object data, string textPlain, object query ) : HttpResponse | ||
Put ( string createUrl, object data, string contenttype, object query = null ) : void | ||
SetRequestAccept ( string accept ) : void | ||
SetRequestBasicAuthentication ( string userName, string password, bool forceBasicAuth ) : void |
public GetAsFile ( string url, string tempFileName ) : HttpResponse | ||
url | string | |
tempFileName | string | |
Результат | HttpResponse |
public HttpClientWrapper ( ) : EasyHttp.Http | ||
Результат | EasyHttp.Http |
public Post ( string url, object data, string textPlain, object query ) : HttpResponse | ||
url | string | |
data | object | |
textPlain | string | |
query | object | |
Результат | HttpResponse |
public Put ( string createUrl, object data, string contenttype, object query = null ) : void | ||
createUrl | string | |
data | object | |
contenttype | string | |
query | object | |
Результат | void |
public SetRequestAccept ( string accept ) : void | ||
accept | string | |
Результат | void |
public SetRequestBasicAuthentication ( string userName, string password, bool forceBasicAuth ) : void | ||
userName | string | |
password | string | |
forceBasicAuth | bool | |
Результат | void |