PropsWebSocket extension

on

Properties

binaryType BinaryType

Available on WebSocket, provided by the PropsWebSocket extension

getter/setter pair
bufferedAmount int

Available on WebSocket, provided by the PropsWebSocket extension

no setter
extensions String

Available on WebSocket, provided by the PropsWebSocket extension

no setter
onclose EventHandlerNonNull<Event>?

Available on WebSocket, provided by the PropsWebSocket extension

getter/setter pair
onerror EventHandlerNonNull<Event>?

Available on WebSocket, provided by the PropsWebSocket extension

getter/setter pair
onmessage EventHandlerNonNull<Event>?

Available on WebSocket, provided by the PropsWebSocket extension

getter/setter pair
onopen EventHandlerNonNull<Event>?

Available on WebSocket, provided by the PropsWebSocket extension

getter/setter pair
protocol String

Available on WebSocket, provided by the PropsWebSocket extension

no setter
readyState int

Available on WebSocket, provided by the PropsWebSocket extension

no setter
url String

Available on WebSocket, provided by the PropsWebSocket extension

no setter

Methods

close([int? code, String? reason]) → void

Available on WebSocket, provided by the PropsWebSocket extension

send(dynamic data) → void

Available on WebSocket, provided by the PropsWebSocket extension