Skip to main content
Module

x/rsocket/deps.ts

🦕RSocket Deno module
Latest
import * as rsocket from "https://deno.land/x/rsocket@0.3.0/deps.ts";

Functions

Upgrade inputted TCP connection into WebSocket connection.

Connect to given websocket endpoint url. Endpoint must be acceptable for URL.

Shorthand for new TextDecoder().decode()

Shorthand for new TextEncoder().encode()

Returns true if input value is a WebSocketCloseEvent, false otherwise.

Returns true if input value is a WebSocketPingEvent, false otherwise.

Returns true if input value is a WebSocketPongEvent, false otherwise.

Create a HTTP server