IStreamingTransportServer interface
Abstraction to define the characteristics of a streaming transport server. Example possible implementations include WebSocket transport server or NamedPipe transport server.
Properties
is |
Methods
disconnect() | |
send(Streaming |
|
start(() => void) |
Property Details
isConnected
isConnected?: boolean
Property Value
boolean
Method Details
disconnect()
function disconnect()
send(StreamingRequest)
function send(request: StreamingRequest): Promise<IReceiveResponse>
Parameters
- request
- StreamingRequest
Returns
Promise<IReceiveResponse>
start(() => void)
function start(onListen?: () => void): Promise<string>
Parameters
- onListen
-
() => void
Returns
Promise<string>