UNPKG

websocket-ts

Version:

<div> <div align="center"> <img src="https://raw.githubusercontent.com/jjxxs/websocket-ts/gh-pages/websocket-ts-logo.svg" alt="websocket-ts" width="300" height="65" /> </div> <p align="center"> <img src="https://github.com/jjxxs/websocket-ts

24 lines (20 loc) 602 B
import { WebsocketBuffer } from "./websocket_buffer"; import { WebsocketConnectionRetryOptions } from "./websocket_retry_options"; import { WebsocketEventListeners } from "./websocket_event"; /** * Options that can be passed to the Websocket constructor. */ export interface WebsocketOptions { /** * The Buffer to use. */ readonly buffer?: WebsocketBuffer; /** * The options for the connection-retry-strategy. */ readonly retry?: WebsocketConnectionRetryOptions; /** * The initial listeners to add to the websocket. */ readonly listeners?: WebsocketEventListeners; }