Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 918 Bytes

readme.md

File metadata and controls

25 lines (18 loc) · 918 Bytes

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'