ashleysommer / sanic-plugin-toolkit

Easily create Plugins for Sanic!
MIT License
51 stars 9 forks source link

Websocket routes #3

Closed daniel-skog closed 6 years ago

daniel-skog commented 6 years ago

Hello!

Thank you for a really nice framework! Really enjoying the context sharing features. One question: is it possible to use websocket routes with SPF plugins so that context can be shared?

ashleysommer commented 6 years ago

Hi, Thank you for the positive feedback. Yes, websocket routes are a feature that I would like to have in spf. I don't have a lot of time right now (new baby) to work on that feature, but Im happy to take pull requests if someone else would like to add websocket routes support.

ashleysommer commented 6 years ago

@daniel-skog Websocket routes are implemented in the latest release (static routes too!). https://github.com/ashleysommer/sanicpluginsframework/releases/tag/0.6.1.dev20180616