vertx-http-proxy icon indicating copy to clipboard operation
vertx-http-proxy copied to clipboard

Apply interceptors for socket handshake

Open wzy1935 opened this issue 1 year ago • 2 comments

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.

wzy1935 avatar Jul 30 '24 05:07 wzy1935

can you add a test to ensure the correctness ?

vietj avatar Jul 30 '24 16:07 vietj

Tests added, thanks!

wzy1935 avatar Jul 31 '24 09:07 wzy1935