1.0.15 • Published 7 years ago
brisk-js v1.0.15
Table of Contents
WriteCallback
Called when the application should write the next command
Type: Function
Parameters
octetStreamOutOctetStream
ReadCallback
Called everytime there is a new command to be processed
Type: Function
Parameters
cmdValueuint8octetStreamInOctetStream
CallbackInfo
Type: Object
Properties
readCallbackReadCallback read callbackwriteCallbackWriteCallback write callback
LogInfo
Type: Object
Properties
logfunction log function
BriskConnection
Establishing a websocket connection that is intended to be bridged over UDP.
Parameters
hoststring web socket connection, e.g. 'ws://demos.kaazing.com/echo'infoCallbackInfo read and write callbacklogLogInfo object that contains alog()function.