An open API service indexing awesome lists of open source software.

https://github.com/workwithpact/cf-socket-client

A simple client to interface with our CloudFlare Workers backed WebSocket server.
https://github.com/workwithpact/cf-socket-client

chat cloudflare-worker cloudflare-workers websocket websockets

Last synced: about 1 year ago
JSON representation

A simple client to interface with our CloudFlare Workers backed WebSocket server.

Awesome Lists containing this project

README

          

# CF Socket Client

A simple client to interface with our [CloudFlare Workers backed WebSocket server](https://github.com/workwithpact/cf-socket-server).

## Getting started
First, install this package by running `npm i cf-socket-client`, or if you're using yarn, `yarn add cf-socket-client`.

## Examples
- [Chat demo](https://websockets.workwithpact.com/chat)
- [Poll demo](https://websockets.workwithpact.com/poll)
- [_Ephemeral_ Poll demo](https://websockets.workwithpact.com/ephemeral)
- [Live map of active users](https://websockets.workwithpact.com/livemap), build using the ephemeral poll functionality