Méthode | Description | |
---|---|---|
AddHashParam ( this url, string key, object val ) : string | ||
AddHashParam ( this url, string key, string val ) : string | ||
AddQueryParam ( this url, object key, string val, bool encode = true ) : string | ||
AddQueryParam ( this url, string key, object val, bool encode = true ) : string | ||
AddQueryParam ( this url, string key, string val, bool encode = true ) : string | ||
DeleteFromUrl ( this url, string accept = "*/*", Action |
||
GetBytesFromUrl ( this url, string accept = "*/*", Action |
||
GetErrorResponse ( this url ) : |
||
GetJsonFromUrl ( this url, Action |
||
GetResponseBody ( this ex ) : string | ||
GetResponseStatus ( this url ) : HttpStatusCode? | ||
GetStatus ( this ex ) : HttpStatusCode? | ||
GetStringFromUrl ( this url, string accept = "*/*", Action |
||
GetXmlFromUrl ( this url, Action |
||
HasStatus ( this webEx, HttpStatusCode statusCode ) : bool | ||
HeadFromUrl ( this url, string accept = "*/*", Action |
||
IsAny300 ( this ex ) : bool | ||
IsAny400 ( this ex ) : bool | ||
IsAny500 ( this ex ) : bool | ||
IsBadRequest ( this ex ) : bool | ||
IsForbidden ( this ex ) : bool | ||
IsInternalServerError ( this ex ) : bool | ||
IsNotFound ( this ex ) : bool | ||
IsUnauthorized ( this ex ) : bool | ||
OptionsFromUrl ( this url, string accept = "*/*", Action |
||
PostBytesToUrl ( this url, byte requestBody = null, string contentType = null, string accept = "*/*", Action |
||
PostFileToUrl ( this url, |
||
PostJsonToUrl ( this url, object data, Action |
||
PostJsonToUrl ( this url, string json, Action |
||
PostStringToUrl ( this url, string requestBody = null, string contentType = null, string accept = "*/*", Action |
||
PostToUrl ( this url, object formData = null, string accept = "*/*", Action |
||
PostToUrl ( this url, string formData = null, string accept = "*/*", Action |
||
PostXmlToUrl ( this url, object data, Action |
||
PostXmlToUrl ( this url, string xml, Action |
||
PutBytesToUrl ( this url, byte requestBody = null, string contentType = null, string accept = "*/*", Action |
||
PutFileToUrl ( this url, |
||
PutJsonToUrl ( this url, object data, Action |
||
PutJsonToUrl ( this url, string json, Action |
||
PutStringToUrl ( this url, string requestBody = null, string contentType = null, string accept = "*/*", Action |
||
PutToUrl ( this url, object formData = null, string accept = "*/*", Action |
||
PutToUrl ( this url, string formData = null, string accept = "*/*", Action |
||
PutXmlToUrl ( this url, object data, Action |
||
PutXmlToUrl ( this url, string xml, Action |
||
ReadLines ( this webRes ) : IEnumerable |
||
ReadToEnd ( this webRes ) : string | ||
SendBytesToUrl ( this url, string method = null, byte requestBody = null, string contentType = null, string accept = "*/*", Action |
||
SendStringToUrl ( this url, string method = null, string requestBody = null, string contentType = null, string accept = "*/*", Action |
||
SetQueryParam ( this url, string key, string val ) : string | ||
ToFormUrlEncoded ( this queryParams ) : string | ||
UploadFile ( this webRequest, |
||
UploadFile ( this webRequest, Stream fileStream, string fileName ) : void | ||
UploadFile ( this webRequest, Stream fileStream, string fileName, string mimeType, string accept = null, Action |
public static AddHashParam ( this url, string key, object val ) : string | ||
url | this | |
key | string | |
val | object | |
Résultat | string |
public static AddHashParam ( this url, string key, string val ) : string | ||
url | this | |
key | string | |
val | string | |
Résultat | string |
public static AddQueryParam ( this url, object key, string val, bool encode = true ) : string | ||
url | this | |
key | object | |
val | string | |
encode | bool | |
Résultat | string |
public static AddQueryParam ( this url, string key, object val, bool encode = true ) : string | ||
url | this | |
key | string | |
val | object | |
encode | bool | |
Résultat | string |
public static AddQueryParam ( this url, string key, string val, bool encode = true ) : string | ||
url | this | |
key | string | |
val | string | |
encode | bool | |
Résultat | string |
public static DeleteFromUrl ( this url, string accept = "*/*", Action |
||
url | this | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static GetBytesFromUrl ( this url, string accept = "*/*", Action |
||
url | this | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | byte[] |
public static GetErrorResponse ( this url ) : |
||
url | this | |
Résultat |
public static GetJsonFromUrl ( this url, Action |
||
url | this | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static GetResponseBody ( this ex ) : string | ||
ex | this | |
Résultat | string |
public static GetResponseStatus ( this url ) : HttpStatusCode? | ||
url | this | |
Résultat | HttpStatusCode? |
public static GetStatus ( this ex ) : HttpStatusCode? | ||
ex | this | |
Résultat | HttpStatusCode? |
public static GetStringFromUrl ( this url, string accept = "*/*", Action |
||
url | this | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static GetXmlFromUrl ( this url, Action |
||
url | this | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static HasStatus ( this webEx, HttpStatusCode statusCode ) : bool | ||
webEx | this | |
statusCode | HttpStatusCode | |
Résultat | bool |
public static HeadFromUrl ( this url, string accept = "*/*", Action |
||
url | this | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static IsBadRequest ( this ex ) : bool | ||
ex | this | |
Résultat | bool |
public static IsForbidden ( this ex ) : bool | ||
ex | this | |
Résultat | bool |
public static IsInternalServerError ( this ex ) : bool | ||
ex | this | |
Résultat | bool |
public static IsNotFound ( this ex ) : bool | ||
ex | this | |
Résultat | bool |
public static IsUnauthorized ( this ex ) : bool | ||
ex | this | |
Résultat | bool |
public static OptionsFromUrl ( this url, string accept = "*/*", Action |
||
url | this | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PostBytesToUrl ( this url, byte requestBody = null, string contentType = null, string accept = "*/*", Action |
||
url | this | |
requestBody | byte | |
contentType | string | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | byte[] |
public static PostFileToUrl ( this url, |
||
url | this | |
uploadFileInfo | ||
uploadFileMimeType | string | |
accept | string | |
requestFilter | Action |
|
Résultat |
public static PostJsonToUrl ( this url, object data, Action |
||
url | this | |
data | object | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PostJsonToUrl ( this url, string json, Action |
||
url | this | |
json | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PostStringToUrl ( this url, string requestBody = null, string contentType = null, string accept = "*/*", Action |
||
url | this | |
requestBody | string | |
contentType | string | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PostToUrl ( this url, object formData = null, string accept = "*/*", Action |
||
url | this | |
formData | object | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PostToUrl ( this url, string formData = null, string accept = "*/*", Action |
||
url | this | |
formData | string | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PostXmlToUrl ( this url, object data, Action |
||
url | this | |
data | object | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PostXmlToUrl ( this url, string xml, Action |
||
url | this | |
xml | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PutBytesToUrl ( this url, byte requestBody = null, string contentType = null, string accept = "*/*", Action |
||
url | this | |
requestBody | byte | |
contentType | string | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | byte[] |
public static PutFileToUrl ( this url, |
||
url | this | |
uploadFileInfo | ||
uploadFileMimeType | string | |
accept | string | |
requestFilter | Action |
|
Résultat |
public static PutJsonToUrl ( this url, object data, Action |
||
url | this | |
data | object | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PutJsonToUrl ( this url, string json, Action |
||
url | this | |
json | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PutStringToUrl ( this url, string requestBody = null, string contentType = null, string accept = "*/*", Action |
||
url | this | |
requestBody | string | |
contentType | string | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PutToUrl ( this url, object formData = null, string accept = "*/*", Action |
||
url | this | |
formData | object | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PutToUrl ( this url, string formData = null, string accept = "*/*", Action |
||
url | this | |
formData | string | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PutXmlToUrl ( this url, object data, Action |
||
url | this | |
data | object | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static PutXmlToUrl ( this url, string xml, Action |
||
url | this | |
xml | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static ReadLines ( this webRes ) : IEnumerable |
||
webRes | this | |
Résultat | IEnumerable |
public static ReadToEnd ( this webRes ) : string | ||
webRes | this | |
Résultat | string |
public static SendBytesToUrl ( this url, string method = null, byte requestBody = null, string contentType = null, string accept = "*/*", Action |
||
url | this | |
method | string | |
requestBody | byte | |
contentType | string | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | byte[] |
public static SendStringToUrl ( this url, string method = null, string requestBody = null, string contentType = null, string accept = "*/*", Action |
||
url | this | |
method | string | |
requestBody | string | |
contentType | string | |
accept | string | |
requestFilter | Action |
|
responseFilter | Action |
|
Résultat | string |
public static SetQueryParam ( this url, string key, string val ) : string | ||
url | this | |
key | string | |
val | string | |
Résultat | string |
public static ToFormUrlEncoded ( this queryParams ) : string | ||
queryParams | this | |
Résultat | string |
public static UploadFile ( this webRequest, |
||
webRequest | this | |
uploadFileInfo | ||
uploadFileMimeType | string | |
Résultat |
public static UploadFile ( this webRequest, Stream fileStream, string fileName ) : void | ||
webRequest | this | |
fileStream | Stream | |
fileName | string | |
Résultat | void |
public static UploadFile ( this webRequest, Stream fileStream, string fileName, string mimeType, string accept = null, Action |
||
webRequest | this | |
fileStream | Stream | |
fileName | string | |
mimeType | string | |
accept | string | |
requestFilter | Action |
|
method | string | |
Résultat | void |