gofiber / websocket

⚠️ Deprecated repository, available within Fiber Contrib.
https://github.com/gofiber/contrib/tree/main/websocket
MIT License
288 stars 25 forks source link

How to Support Sec-WebSocket-Protocol or set Token when use Websocket in Fiber? #148

Closed auleaf closed 1 year ago

auleaf commented 1 year ago

in web client,I use:var socket = new WebSocket(url,[token]); chrome return error:socket error,but not set token,it's OK:var socket = new WebSocket(url), and Fiber error in c.ReadMessage()

auleaf commented 1 year ago

Already resolved, thanks