0.1.7 • Published 4 months ago
hattip-ws v0.1.7
hattip-ws
A lightweight wrapper that helps you integrate crossws
with Hattip.
Usage
Follow the instructions for your server:
Framework Usage
If you're building a framework on top of Hattip, you may find the root entry point useful. It contains generalized types for the adapters, so developers can pass an “adapter factory” to the framework.
import type {
WebSocketAdapterFactory,
WebSocketAdapterOptions,
WebSocketAdapter,
} from 'hattip-ws'