Show / Hide Table of Contents

    Class HttpClient

    Class with methods to perform HTTP client requests.

    Inheritance
    System.Object
    HttpClient
    Implements
    System.IDisposable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Eclo.nF.SIM800H
    Assembly: cs.temp.dll.dll
    Syntax
    public class HttpClient : IDisposable

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Finalize()

    Declaration
    protected void Finalize()

    PerformHttpWebRequestAsync(HttpWebRequest, Boolean, Boolean, Boolean, Int32, AsyncCallback, Object)

    Performs an asynchronous HttpWebrequest

    Declaration
    public HttpWebRequestAsyncResult PerformHttpWebRequestAsync(HttpWebRequest request, bool readResponseData = false, bool readHeaders = false, bool closeConnectionOnCompletion = true, int readTimeout = 5000, AsyncCallback asyncCallback = null, object asyncState = null)
    Parameters
    Type Name Description
    HttpWebRequest request

    The HttpWebRequest request to be performed

    System.Boolean readResponseData

    Option to read the response data if any, optional with false as default

    System.Boolean readHeaders

    Option to read the response headers, if any, optional with false as default

    System.Boolean closeConnectionOnCompletion

    Option to close the connection when HTTP request is completed, optional with true as default

    System.Int32 readTimeout

    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.

    System.AsyncCallback asyncCallback

    The callback to be invoked upon completion, optional

    System.Object asyncState

    The state object to be stored against the ReadSMSAsyncResult, optional

    Returns
    Type Description
    HttpWebRequestAsyncResult

    The IMEIAsyncResult

    SaveHttpContext()

    Saves HTTP application context. When system is rebooted the parameters will be loaded automatically

    Declaration
    public AtCommandResult SaveHttpContext()
    Returns
    Type Description
    AtCommandResult

    Events

    HttpActionReceived

    Event raised when the module receives an HTTP action prompt.

    Declaration
    public event HttpClient.HttpActionReceivedHandler HttpActionReceived
    Event Type
    Type Description
    HttpClient.HttpActionReceivedHandler

    Implements

    System.IDisposable
    Back to top Copyright © 2018 Eclo Solutions
    Generated by DocFX