Constructors

Properties

Methods

Constructors

  • Returns Client

Properties

client: IClient

Methods

  • Destroys all sessions and removes session cache from memory.

    Parameters

    • payload: string

    Returns Promise<string>

    • A promise resolving to the session id.
  • Removes cache from memory.

    Parameters

    • id: string

    Returns Promise<void>

  • Intialize the client and load the native library.

    Returns Promise<void>

  • Performs an HTTP request with native library.

    Parameters

    • payload: string

      The request payload to be sent.

    Returns Promise<TlsResponse>

    • A promise resolving to the parsed TLS response object.

    Throws

    • If no response is received from the client.