ITransport interface
An abstraction over the behavior of transports. This is designed to support the framework and not intended for use by applications.
Property Details
onclose
onclose: (error?: Error) => void | nullProperty Value
(error?: Error) => void | null
onreceive
onreceive: (data: string | ArrayBuffer) => void | nullProperty Value
(data: string | ArrayBuffer) => void | null
Method Details
		connect(string, TransferFormat)
	 
	function connect(url: string, transferFormat: TransferFormat): Promise<void>Parameters
- url
- 
				string 
- transferFormat
- TransferFormat
Returns
Promise<void>
send(any)
function send(data: any): Promise<void>Parameters
- data
- 
				any 
Returns
Promise<void>
stop()
function stop(): Promise<void>Returns
Promise<void>