libwasm ~master (2024-01-10T15:05:21Z)
Dub
Repo
WebSocket.onclose
libwasm
bindings
WebSocket
WebSocket
Undocumented in source. Be warned that the author may not have intended to support it.
void
onclose
(Optional!(T0) onclose)
struct
WebSocket
nothrow
void
onclose
(
T0
)
(
scope
auto
ref
Optional
!(
T0
)
onclose
)
if
(
isTOrPointer
!(
T0
,
EventHandlerNonNull
)
)
EventHandler
onclose
()
Meta
Source
See Implementation
libwasm
bindings
WebSocket
WebSocket
constructors
this
functions
binaryType
bufferedAmount
close
createServerWebSocket
extensions
onclose
onerror
onmessage
onopen
protocol
readyState
send
url
variables
CLOSED
CLOSING
CONNECTING
OPEN
_parent