Closes gh-2064
master
Pier Dipi 6 years ago committed by Stephane Nicoll
parent 78a6429c32
commit d459e1ad61
  1. 2
      src/docs/asciidoc/web/websocket.adoc

@ -121,7 +121,7 @@ sending. One option is to wrap the `WebSocketSession` with
[.small]#<<web-reactive.adoc#webflux-websocket-server-handshake,Same as in Spring WebFlux>># [.small]#<<web-reactive.adoc#webflux-websocket-server-handshake,Same as in Spring WebFlux>>#
The easiest way to customize the initial HTTP WebSocket handshake request is through The easiest way to customize the initial HTTP WebSocket handshake request is through
a `HandshakeInterceptor`, which exposes methiods for "`before`" and "`after`" the handshake. a `HandshakeInterceptor`, which exposes methods for "`before`" and "`after`" the handshake.
You can use such an interceptor to preclude the handshake or to make any attributes You can use such an interceptor to preclude the handshake or to make any attributes
available to the `WebSocketSession`. The following example uses a built-in interceptor available to the `WebSocketSession`. The following example uses a built-in interceptor
to pass HTTP session attributes to the WebSocket session: to pass HTTP session attributes to the WebSocket session:

Loading…
Cancel
Save