WSTransport top-level property

  1. @JS()
dynamic get WSTransport

WebSocket transport. Uses native WebSocket implementation, including MozWebSocket supported by earlier Firefox versions.

Implementation

@JS()
external get WSTransport;
  1. @JS()
set WSTransport (dynamic v)

Implementation

@JS()
external set WSTransport(v);