vertx-http-proxy
vertx-http-proxy copied to clipboard
Apply interceptors for socket handshake
Should close #48.
Now interceptor can be applied to WebSocket handshake packets. Since most interceptors should not modify packets during the WebSocket establishment, they are not applied by default. They can be used by overwriting allowApplyToWebSocket() method or wrapping with WebSocketInterceptor.allow() method.
can you add a test to ensure the correctness ?
Tests added, thanks!