Fiber: 馃敟 Add Websocket Support

Created on 14 Feb 2020  路  2Comments  路  Source: gofiber/fiber

Is your feature request related to a problem? No

Describe the solution you'd like: I'd like to see the ability to promote a request to a websocket connection and handle pub-sub messaging therein. This is a big feature present in other libraries like gorilla and it would make fiber more competitive.

Describe alternatives you've considered: Use a different web library.

Additional context: None.

Most helpful comment

Websockets are supported in v1.7.1

app.WebSocket('/echo', func(c *fiber.Conn) {
 // Conn logic
})

All 2 comments

Thanks for opening your first issue here! 馃帀 Be sure to follow the issue template!

Websockets are supported in v1.7.1

app.WebSocket('/echo', func(c *fiber.Conn) {
 // Conn logic
})
Was this page helpful?
0 / 5 - 0 ratings