Chi: websocket + chi

Created on 17 Feb 2020  路  1Comment  路  Source: go-chi/chi

How can i use websocket and chi on the same port? I also dont know which websocket lib to use.

Most helpful comment

yes it works great with anything websockets

try https://github.com/gorilla/websocket

use the .Handle() method in chi to handle a websocket request with the websocket upgrader

>All comments

yes it works great with anything websockets

try https://github.com/gorilla/websocket

use the .Handle() method in chi to handle a websocket request with the websocket upgrader

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rocanion picture rocanion  路  4Comments

makhov picture makhov  路  4Comments

dannyvankooten picture dannyvankooten  路  5Comments

MrXu picture MrXu  路  3Comments

kevinconway picture kevinconway  路  8Comments