@:value(false)debug:Bool = false
@:value("/")read onlypath:String = "/"
@:value({ alreadyRecieved : "" })staticcreateFromAcceptedSocket_ (socket:Socket2, alreadyRecieved:String = "", debug:Bool):WebSocketGeneric
@:value({ key : "wskey", origin : null, protocols : null })staticcreate_ (uri:String, ?protocols:Array<String>, ?origin:String, key:String = "wskey", debug:Bool):WebSocketGeneric
read onlyreadyState:ReadyState
dynamiconclose (code:Int):Void
dynamiconerror (message:String):Void
dynamiconmessageBytes (message:Bytes):Void
dynamiconmessageString (message:String):Void
dynamiconopen ():Void