| HttpClientPerformHttpWebRequestAsync Method |
Performs an asynchronous HttpWebrequest
Namespace: Eclo.NETMF.SIM800HAssembly: Eclo.NETMF.SIM800H (in Eclo.NETMF.SIM800H.dll) Version: 1.1.97.0 (1.1.97.0)
Syntax public HttpWebRequestAsyncResult PerformHttpWebRequestAsync(
HttpWebRequest request,
bool readResponseData = false,
bool readHeaders = false,
bool closeConnectionOnCompletion = true,
int readTimeout = 5000,
AsyncCallback asyncCallback = null,
Object asyncState = null
)
Parameters
- request
- Type: Eclo.NETMF.SIM800HHttpWebRequest
The HttpWebRequest request to be performed - readResponseData (Optional)
- Type: SystemBoolean
Option to read the response data if any, optional with false as default - readHeaders (Optional)
- Type: SystemBoolean
Option to read the response headers, if any, optional with false as default - closeConnectionOnCompletion (Optional)
- Type: SystemBoolean
Option to close the connection when HTTP request is completed, optional with true as default - readTimeout (Optional)
- Type: SystemInt32
Timeout (in milliseconds) to complete a read operation. This is used in HTTP GET operations and when read response headers option is enabled. The default is 5s. - asyncCallback (Optional)
- Type: SystemAsyncCallback
The callback to be invoked upon completion, optional - asyncState (Optional)
- Type: SystemObject
The state object to be stored against the ReadSMSAsyncResult, optional
Return Value
Type:
HttpWebRequestAsyncResultThe IMEIAsyncResult
See Also