shelf_web_socket library

Functions

webSocketHandler(Function onConnection, { Iterable<String> protocols, Iterable<String> allowedOrigins, Duration pingInterval }) Handler
Creates a Shelf handler that upgrades HTTP requests to WebSocket connections. [...]