libwasm ~master (2024-01-10T15:05:21Z)
Dub
Repo
WebSocket.onopen
libwasm
bindings
WebSocket
WebSocket
Undocumented in source. Be warned that the author may not have intended to support it.
void
onopen
(Optional!(T0) onopen)
struct
WebSocket
nothrow
void
onopen
(
T0
)
(
scope
auto
ref
Optional
!(
T0
)
onopen
)
if
(
isTOrPointer
!(
T0
,
EventHandlerNonNull
)
)
EventHandler
onopen
()
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