spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
WebSocket.close
spasm
bindings
html
WebSocket
Undocumented in source. Be warned that the author may not have intended to support it.
void
close
(ushort code, string reason)
void
close
(ushort code)
struct
WebSocket
nothrow
void
close
()
(
ushort
code
)
void
close
()
Meta
Source
See Implementation
spasm
bindings
html
WebSocket
constructors
this
functions
binaryType
bufferedAmount
close
extensions
onclose
onerror
onmessage
onopen
protocol
readyState
send
url
variables
CLOSED
CLOSING
CONNECTING
OPEN
_parent