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 your feature request related to a problem? Please describe.
In a reverse proxy application it is essential to know information about a request like its protocol (http, ws, etc.), or whether the request itself is a WebSocket.
Otherwise drogon::app().forward(...) can't make proper forwarding to the backend without rewriting what is already implemented in HttpServer.cc.
Describe the solution you'd like
Several options:
Expose the protocol string.
Add a local boolean member within requests called isWebSocket.
Expose the already implemented method in HttpServer.cc.
Describe alternatives you've considered
Rewriting the current implementation.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In a reverse proxy application it is essential to know information about a request like its protocol (http, ws, etc.), or whether the request itself is a WebSocket.
Otherwise
drogon::app().forward(...)
can't make proper forwarding to the backend without rewriting what is already implemented in HttpServer.cc.Describe the solution you'd like
Several options:
isWebSocket
.Describe alternatives you've considered
Rewriting the current implementation.
The text was updated successfully, but these errors were encountered: