Commit Graph

6 Commits

Author SHA1 Message Date
Luna bba5bef505 don't prepend raw close code anymore
thanks to recent crystal changes adding support for close reasons we
don't need to encode things anymore.
2021-05-12 12:17:02 -03:00
Luna 2fb7d018d5 fix websocket close wrapper 2021-03-31 22:57:05 -03:00
Luna 2f9f859be9 websocket: default to error code 500 on any websocket error 2020-09-03 22:54:48 -03:00
Luna 19bc38b881 add support for error codes on websockets
copied from 541dfc9da5/src/onyx-http/middleware/router/websocket_handler.cr (L36)
2020-09-03 22:54:48 -03:00
Sijawusz Pur Rahnama 210e2c0801 Prettify docs (#410) 2017-10-06 14:53:53 +03:00
Serdar Dogruyol fe9d193418 Seperate websocket and websocket handler. Fixes #395 2017-09-10 14:41:07 +03:00