Variables
Methods
Static methods
staticdynamiccreate (url:String, ?protocols:Array<String>, ?origin:String, debug:Bool = false):WebSocket
staticcreateFromAcceptedSocket (socket:Socket2, alreadyRecieved:String = "", debug:Bool = false):WebSocket
create server websocket from socket returned by accept() wait for onopen() to be called before using websocket
Parameters:
socket |
|
---|---|
alredyRecieved |
|
debug |
|