Skip to content
allocPublic

About

Quickly integrate crossws with Hattip

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

hattip-ws

A lightweight wrapper that helps you integrate crossws with Hattip.

Warning

This package is unmaintained. Check out alien-ws for a maintained alternative. The difference is which middleware library is used (@hattip/compose vs alien-middleware). If you wish to maintain this package, let me now and I'll transfer it to you.

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'

About

Quickly integrate crossws with Hattip

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages