Closed injecteer closed 2 years ago
there is no underlying Vert.x HTTP server request in the current WebSocket transport, but we can still expose the HTTP headers and the HTTP request URI as provided during the handshake
@vietj can you also backport the fix to 3.9.x version?
Sometimes pre-checks must be performed upon handshake, like:
To prevent "DoS" attacks or check for authentication or other crtiterias beforehand and reject the connection immediately.
So, it should be possible to access underlying HttpServerRequest and it's methods.