• Add a request to current HTTP session.

    Parameters

    • fd: number

      A socket handle, created with Libertas_NetNewHttp.

    • method: string

      Method string, such as "GET".

    • url: string

      The URL string.

    • headers: LibertasHttpHeader[]

      A list of custom HTTP headers.

    • Optional body: LibertasNetData

      The body of HTTP request.

      Optional
    • Optional sendTimeout: number

      Timeout of send, in seconds.

      Optional
    • Optional recvTimeout: number

      Timeout of receive, in seconds.

      Optional

    Returns void

Generated using TypeDoc