WebSocket

Undocumented in source.

Constructors

this
this(Handle h)
Undocumented in source.

Alias This

_parent

Members

Functions

binaryType
void binaryType(BinaryType binaryType)
Undocumented in source. Be warned that the author may not have intended to support it.
binaryType
BinaryType binaryType()
Undocumented in source. Be warned that the author may not have intended to support it.
bufferedAmount
uint bufferedAmount()
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close(ushort code, string reason)
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close(ushort code)
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
createServerWebSocket
auto createServerWebSocket(string url, Sequence!(string) protocols, nsITransportProvider transportProvider, string negotiatedExtensions)
Undocumented in source. Be warned that the author may not have intended to support it.
extensions
string extensions()
Undocumented in source. Be warned that the author may not have intended to support it.
onclose
void onclose(Optional!(T0) onclose)
Undocumented in source. Be warned that the author may not have intended to support it.
onclose
EventHandler onclose()
Undocumented in source. Be warned that the author may not have intended to support it.
onerror
void onerror(Optional!(T0) onerror)
Undocumented in source. Be warned that the author may not have intended to support it.
onerror
EventHandler onerror()
Undocumented in source. Be warned that the author may not have intended to support it.
onmessage
void onmessage(Optional!(T0) onmessage)
Undocumented in source. Be warned that the author may not have intended to support it.
onmessage
EventHandler onmessage()
Undocumented in source. Be warned that the author may not have intended to support it.
onopen
void onopen(Optional!(T0) onopen)
Undocumented in source. Be warned that the author may not have intended to support it.
onopen
EventHandler onopen()
Undocumented in source. Be warned that the author may not have intended to support it.
protocol
string protocol()
Undocumented in source. Be warned that the author may not have intended to support it.
readyState
ushort readyState()
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send(string data)
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send(ArrayBuffer data)
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send(Blob data)
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send(ArrayBufferView data)
Undocumented in source. Be warned that the author may not have intended to support it.
url
string url()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

CLOSED
enum ushort CLOSED;
Undocumented in source.
CLOSING
enum ushort CLOSING;
Undocumented in source.
CONNECTING
enum ushort CONNECTING;
Undocumented in source.
OPEN
enum ushort OPEN;
Undocumented in source.
_parent
libwasm.bindings.EventTarget.EventTarget _parent;
Undocumented in source.

Meta