Skip to content

Justsnoopy30/sockets

 
 

Repository files navigation

Sockets

Sockets

A WebSocket library for Deno.


Although Sockets has working code, it is still very much under development and unstable. APIs will change without notice. Sorry for any inconvenience!

Table of Contents

Getting Started

To get you started as quickly as possible with a simple client and server, check out the following example app:

We also have a more advanced example app:

All example apps in the example_apps directory have their own README.md file. The README.md files have all the instructions you need to get started.

Integrating

Sockets is composed of two parts:

  • A SocketServer class that is used to instantiate a socket server on the back-end

    import { SocketServer } from "https://deno.land/x/sockets@master/mod.ts";
  • A client library that loads on the front-end

    <script src="https://cdn.jsdelivr.net/gh/drashland/sockets@master/client.js">
    <script type="module" src="https://cdn.jsdelivr.net/gh/drashland/sockets@master/client-module.js">

Features

  • Binary-support

Roadmap

  • Auto-reconnection support

Contributing

Contributors are welcomed!

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

License

By contributing your code, you agree to license your contribution under the MIT License.

About

A WebSocket library for Deno.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 53.8%
  • JavaScript 31.8%
  • HTML 11.2%
  • CSS 3.2%