Skip to content

Gorilla-Websocket #268

Closed
Closed
@diiimo1973

Description

@diiimo1973

I would like to use the gorilla websocket.
I need the response writer. Where can I find the context?
Here an example of gin.

func WsConnectHandler(c *gin.Context) {
    if err := wsHandler(c.Writer, c.Request); err != nil {
        …..
    }
}

func wsHandler(w http.ResponseWriter, r *http.Request) error {
    ……
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions