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
auto binaryType()
Undocumented in source. Be warned that the author may not have intended to support it.
bufferedAmount
auto 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.
extensions
auto extensions()
Undocumented in source. Be warned that the author may not have intended to support it.
onclose
void onclose(EventHandler onclose)
Undocumented in source. Be warned that the author may not have intended to support it.
onclose
auto onclose()
Undocumented in source. Be warned that the author may not have intended to support it.
onerror
void onerror(EventHandler onerror)
Undocumented in source. Be warned that the author may not have intended to support it.
onerror
auto onerror()
Undocumented in source. Be warned that the author may not have intended to support it.
onmessage
void onmessage(EventHandler onmessage)
Undocumented in source. Be warned that the author may not have intended to support it.
onmessage
auto onmessage()
Undocumented in source. Be warned that the author may not have intended to support it.
onopen
void onopen(EventHandler onopen)
Undocumented in source. Be warned that the author may not have intended to support it.
onopen
auto onopen()
Undocumented in source. Be warned that the author may not have intended to support it.
protocol
auto protocol()
Undocumented in source. Be warned that the author may not have intended to support it.
readyState
auto 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(Blob 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(ArrayBufferView data)
Undocumented in source. Be warned that the author may not have intended to support it.
url
auto 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
spasm.bindings.dom.EventTarget _parent;
Undocumented in source.

Meta