brisk connection over js-flux
npm install brisk-js- [WriteCallback][1]
- [Parameters][2]
- [ReadCallback][3]
- [Parameters][4]
- [CallbackInfo][5]
- [Properties][6]
- [LogInfo][7]
- [Properties][8]
- [BriskConnection][9]
- [Parameters][10]
Called when the application should write the next command
Type: [Function][11]
- octetStream OutOctetStream
Called everytime there is a new command to be processed
Type: [Function][11]
- cmdValue uint8
- octetStream InOctetStream
Type: [Object][12]
- readCallback [ReadCallback][13] read callback
- writeCallback [WriteCallback][14] write callback
Type: [Object][12]
- log [function][11] log function
Establishing a websocket connection that is intended to be bridged over UDP.
- host [string][15] web socket connection, e.g. 'ws://demos.kaazing.com/echo'
- info [CallbackInfo][16] read and write callback
- log [LogInfo][17] object that contains a log() function.
[1]: #writecallback
[2]: #parameters
[3]: #readcallback
[4]: #parameters-1
[5]: #callbackinfo
[6]: #properties
[7]: #loginfo
[8]: #properties-1
[9]: #briskconnection
[10]: #parameters-2
[11]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function
[12]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
[13]: #readcallback
[14]: #writecallback
[15]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
[16]: #callbackinfo
[17]: #loginfo