NetworkHelper | SendDataResult |
Assists with operations related to networking.
Constructs a query string from the specified URL and data.
Name | Description |
---|---|
uri | System.Uri The URL (potentially containing a query string). |
data | System.Collections.Generic.IDictionary{System.String,System.String} The data. |
The query string.
Returns the response string downloaded from the request to the specified URL.
Name | Description |
---|---|
url | System.String The URL to make the request to. |
The response string.
Sends a web request with the data either in the query string or in the body.
Name | Description |
---|---|
url | System.String The URL to send the request to. |
data | System.Collections.Generic.IDictionary{System.String,System.String} The data to send. |
method | System.String The HTTP method (e.g., GET, POST) to use when sending the request. |
sendInBody | System.Boolean Send the data as part of the body (or in the query string)? |
An object containing details about the result of the attempt to send the data.
Parts of this function are from: http://stackoverflow.com/a/9772003/2052963 and http://stackoverflow.com/questions/14702902
Stores the result of an attempt to send data over a network.
The HTTP web response.
The response error, if one occurs.
The response text.
Was the request a success?