webSocket top-level property

dynamic get webSocket

Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.

If you are looking to create a WebSocket server, please take a look at Deno.upgradeWebSocket().

Implementation

_i2.dynamic get webSocket => _i4.getProperty(
      _self,
      'WebSocket',
    );