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