Method | Description | |
---|---|---|
WithAnyEncoding ( this restClient ) : IRestClient |
Adds both gzip & deflate encoding headers.
|
|
WithCookie ( this restClient, |
Add a cookie to the RestClient cookies..
|
|
WithCookie ( this restClient, string name, string value ) : IRestClient |
Add a cookie to the RestClient cookies..
|
|
WithCredentials ( this restClient, ICredentials credentials ) : IRestClient |
Adds the credentials to the RestClient header.
|
|
WithDeflateEncoding ( this restClient ) : IRestClient |
Adds the deflate to the encoding header.
|
|
WithGzipEncoding ( this restClient ) : IRestClient |
Adds the gzip to the encoding header.
|
public static WithAnyEncoding ( this restClient ) : IRestClient | ||
restClient | this | The RestClient interface. |
return | IRestClient |
public static WithCookie ( this restClient, |
||
restClient | this | The RestClient interface. |
cookie | The cookie to be added. | |
return | IRestClient |
public static WithCookie ( this restClient, string name, string value ) : IRestClient | ||
restClient | this | The RestClient interface. |
name | string | The name of the cookie to be added. |
value | string | The value of the cookie to be added. |
return | IRestClient |
public static WithCredentials ( this restClient, ICredentials credentials ) : IRestClient | ||
restClient | this | The RestClient interface. |
credentials | ICredentials | The credentials to be added. |
return | IRestClient |
public static WithDeflateEncoding ( this restClient ) : IRestClient | ||
restClient | this | The RestClient interface. |
return | IRestClient |
public static WithGzipEncoding ( this restClient ) : IRestClient | ||
restClient | this | The RestClient interface. |
return | IRestClient |