All Projects → fasthttp → Websocket

fasthttp / Websocket

Licence: bsd-2-clause
Gorilla WebSocket implementation for fasthttp.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Websocket

Websocket
A fast, well-tested and widely used WebSocket implementation for Go.
Stars: ✭ 16,070 (+8226.42%)
Mutual labels:  gorilla, websocket
Gowebsocket
Gorilla websockets based simplified websocket-client implementation in GO.
Stars: ✭ 77 (-60.1%)
Mutual labels:  gorilla, websocket
Wstest
go websocket client for unit testing of a websocket handler
Stars: ✭ 83 (-56.99%)
Mutual labels:  gorilla, websocket
Boot Actuator
基于SpringBoot2.0 实现的jvm远程监工图形化工具,可以同时监控多个web应用,支持远程监控
Stars: ✭ 180 (-6.74%)
Mutual labels:  websocket
Go init
一个用go组织项目结构,主要包括 gin, goredis, gorm, websocket, rabbitmq等。👉
Stars: ✭ 183 (-5.18%)
Mutual labels:  websocket
Wechat
聊天系统、Vue.js、React.js、node.js、MongoDB、websocket、socket.io、前后端分离、毕业设计。
Stars: ✭ 188 (-2.59%)
Mutual labels:  websocket
Sarus
A WebSocket JavaScript library
Stars: ✭ 194 (+0.52%)
Mutual labels:  websocket
Instant.nvim
collaborative editing in Neovim using built-in capabilities
Stars: ✭ 178 (-7.77%)
Mutual labels:  websocket
Unitywebsocket
🐳 The Best Unity WebSocket Plugin for All Platforms.
Stars: ✭ 191 (-1.04%)
Mutual labels:  websocket
Javawebsocketclient
RxJava WebSocket library for Java and Android
Stars: ✭ 188 (-2.59%)
Mutual labels:  websocket
Gateway
🚀构建分布式即时聊天、消息推送系统。 Building distributed instant messaging, push notification systems.
Stars: ✭ 188 (-2.59%)
Mutual labels:  websocket
Webim
PHP + Swoole 实现的简单聊天室
Stars: ✭ 186 (-3.63%)
Mutual labels:  websocket
Tdameritradeapi
Front-end library - with C, C++, Python, and Java interfaces - for the recently expanded TDAmeritrade API
Stars: ✭ 190 (-1.55%)
Mutual labels:  websocket
Huobi java
Java SDK for Huobi Spot API
Stars: ✭ 180 (-6.74%)
Mutual labels:  websocket
Actionhero
Actionhero is a realtime multi-transport nodejs API Server with integrated cluster capabilities and delayed tasks
Stars: ✭ 2,280 (+1081.35%)
Mutual labels:  websocket
Melody
🎶 Minimalist websocket framework for Go
Stars: ✭ 2,303 (+1093.26%)
Mutual labels:  websocket
Platypush
A versatile and extensible platform for home and life automation with hundreds of supported integrations
Stars: ✭ 192 (-0.52%)
Mutual labels:  websocket
Claws
Awesome WebSocket CLient - an interactive command line client for testing websocket servers
Stars: ✭ 187 (-3.11%)
Mutual labels:  websocket
Home Panel
A web frontend for controlling the home.
Stars: ✭ 185 (-4.15%)
Mutual labels:  websocket
Youi
Next generation user interface and application development in Scala and Scala.js for web, mobile, and desktop.
Stars: ✭ 186 (-3.63%)
Mutual labels:  websocket

Fasthttp Gorilla WebSocket

Build Status Go Report Card GoDev GitHub release

Gorilla WebSocket is a Go implementation of the WebSocket protocol.

This fork adds fasthttp support to the latest version of gorilla/websocket.

Documentation

Status

The Gorilla WebSocket package provides a complete and tested implementation of the WebSocket protocol. The package API is stable.

Installation

go get github.com/fasthttp/websocket

But beware that this will fetch the latest commit of the master branch which is never purposely broken, but usually not considered stable anyway.

Dep

If you're using dep, just use dep ensure to add a specific version of fasthttp/websocket including all its transitive dependencies to your project:

dep ensure -add github.com/fasthttp/[email protected]

IMPORTANT: dep is only supported until version v1.4.0. In future versions will use Go modules.

Protocol Compliance

The Gorilla WebSocket package passes the server tests in the Autobahn Test Suite using the application in the examples/autobahn subdirectory.

Gorilla WebSocket compared with other packages

github.com/fasthttp golang.org/x/net
RFC 6455 Features
Passes Autobahn Test Suite Yes No
Receive fragmented message Yes No, see note 1
Send close message Yes No
Send pings and receive pongs Yes No
Get the type of a received data message Yes Yes, see note 2
Other Features
Compression Extensions Experimental No
Read message using io.Reader Yes No, see note 3
Write message using io.WriteCloser Yes No, see note 3

Notes:

  1. Large messages are fragmented in Chrome's new WebSocket implementation.
  2. The application can get the type of a received data message by implementing a codec marshal function.
  3. The go/net io.Reader and io.Writer operate across WebSocket frame boundaries. Read returns when the input buffer is full or a frame boundary is encountered. Each call to Write sends a single frame message. The Gorilla io.Reader and io.WriteCloser operate on a single WebSocket message.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].