mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 10:57:05 +00:00
Feature Request: *http.Request access from Websockets. iris.Config.Websocket.IDGenerator custom connection's ID generator added too.
Example: - https://github.com/iris-contrib/examples/blob/master/websocket/main.go#L34 Relative commits to kataras/go-websocket: -550fc8b32e-62c2d989d8
This commit is contained in:
@@ -83,6 +83,7 @@ func (ws *WebsocketServer) init() {
|
||||
ws.station.ReleaseCtx(ctx)
|
||||
},
|
||||
CheckOrigin: c.CheckOrigin,
|
||||
IDGenerator: c.IDGenerator,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user