IStreamingTransportClient interface

Abstraction to define the characteristics of a streaming transport client. Example possible implementations include WebSocket transport client or NamedPipe transport client.

Methods

connect()
disconnect()
send(StreamingRequest)

Method Details

connect()

function connect(): Promise<void>

Returns

Promise<void>

disconnect()

function disconnect()

send(StreamingRequest)

function send(request: StreamingRequest): Promise<IReceiveResponse>

Parameters

Returns

Promise<IReceiveResponse>