Registry /
networking / fasthttp-contrib-websocket
WebSocket implementation for the fasthttp HTTP server library.
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
github.com/fasthttp-contrib/websocket
Sets up a WebSocket server using fasthttp.
package main
import (
"github.com/fasthttp-contrib/websocket"
"github.com/valyala/fasthttp"
)
func main() {
fasthttp.ListenAndServe(":8080", websocket.New(func(ctx *websocket.FastHTTPConn) {
// handle connection
}))
}
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.