IStreamingTransportServer interface

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

Properties

isConnected

Methods

disconnect()
send(StreamingRequest)
start(() => void)

Property Details

isConnected

isConnected?: boolean

Property Value

boolean

Method Details

disconnect()

function disconnect()

send(StreamingRequest)

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

Parameters

Returns

Promise<IReceiveResponse>

start(() => void)

function start(onListen?: () => void): Promise<string>

Parameters

onListen

() => void

Returns

Promise<string>