You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any good example code on how to easily upgrade an HTTP connection to a WS? AFAIU, WSLay should only be engaged after the connection is upgraded, but that does require nearly fully functional HTTP library...
Thank you.
The text was updated successfully, but these errors were encountered:
It is design decision to make wslay know only about WebSocket framing layer. It allows for existing HTTP implementation to integrate wslay easily.
Implementing HTTP upgrade for WebSocket does not require full functional HTTP library. It only requires HTTP header parser, and several header field inspections described as RFC 6455.
There are several good HTTP header parsers:
Hello.
Is there any good example code on how to easily upgrade an HTTP connection to a WS? AFAIU, WSLay should only be engaged after the connection is upgraded, but that does require nearly fully functional HTTP library...
Thank you.
The text was updated successfully, but these errors were encountered: