A lightweight wrapper that helps you integrate crossws
with Hattip.
Follow the instructions for your server:
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'