wdshin / websocket

A WebSocket implementation on top of the fasthttp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

license Documentation Status Build Status Coverage Status Go Report Card

This library is under development

Websocket

A WebSocket implementation on top of the fasthttp.

Implementation

The RFC 6455 describes the WebSocket Protocol. This is the main source of information used for this implementation.

Motivation

Yay! The Gorilla WebSocket works great, and some code of this library are actually based on their implementation, but it does not support the Valyala Fasthttp library.

At first, I tried to use a the Leavengood (https://github.com/leavengood/websocket) fork of the Gorilla Websocket. However, I could not find it useful. Actually I could not find even a reference for the fasthttp at the master branch. How strange is that!?

Hence, I decided to come up with a websocket protocol implementation aiming specially the fasthttp.

Testing

In order to make sure everything is working properly, after each minor release an Autobahn Test Suite report will be released to keep track of the supported features.

More info at https://github.com/crossbario/autobahn-testsuite.

About

A WebSocket implementation on top of the fasthttp

License:MIT License


Languages

Language:Go 98.5%Language:Makefile 1.5%