gin-gonic / examples

A repository to host examples and tutorials for Gin.
https://gin-gonic.com/docs/
MIT License
3.76k stars 651 forks source link

support for websocket middleware #129

Closed blight19 closed 1 year ago

blight19 commented 1 year ago

hello, when a run the gin demo with websocket,it works. but in my project, i have middlewares used to set token generate from jwt,and some permission verification . when i use the demo, i find it doesn't work. when i send a ws request, it seems that it didn't through the middleware i added.