Property | Type | Description | |
---|---|---|---|
ExtractQueryString | string |
Method | Description | |
---|---|---|
AjaxRequest ( ) : |
Adds a header indicating that this is an AJAX request.
|
|
Body ( string body, string contentType = "application/octet-stream" ) : |
Adds a body to the request.
|
|
Cookie ( System.Web.HttpCookie cookie ) : |
Adds a cookie to the request.
|
|
FormValue ( string key, string value ) : |
Adds a form value to the request.
|
|
Header ( string name, string value ) : |
Adds a header to the request.
|
|
HttpPayload ( string method ) : System |
Creates an instance of HttpPayload.
|
|
HttpRequest ( ) : |
Configures the request to be sent over HTTP.
|
|
HttpsRequest ( ) : |
Configures the request to be sent over HTTPS.
|
|
QueryString ( string key, string value ) : |
Adds a query string entry.
|
Method | Description | |
---|---|---|
ExtractQueryString ( string path ) : string |
public Body ( string body, string contentType = "application/octet-stream" ) : |
||
body | string | A string that should be used as the request body. |
contentType | string | The content type. |
return |
public Cookie ( System.Web.HttpCookie cookie ) : |
||
cookie | System.Web.HttpCookie | The cookie that should be added. |
return |
public FormValue ( string key, string value ) : |
||
key | string | The name of the form element. |
value | string | The value of the form element. |
return |
public Header ( string name, string value ) : |
||
name | string | The name of the header. |
value | string | The name of the value. |
return |
public HttpPayload ( string method ) : System | ||
method | string | The HTTP method. |
return | System |
public QueryString ( string key, string value ) : |
||
key | string | The name of the entry. |
value | string | The value of the entry. |
return |