:ring.websocket/listener upgrades the connection to a WebSocket. Originally contributed by @weavejester.java.nio.ByteBuffer per the Ring spec, rather than Undertow's internal ByteBuffer[].ByteBuffers in -ping/-pong, matching ring.websocket/ping and ring.websocket/pong.PingListener, as required by RFC 6455..close instead of .free for WebSocket pool to avoid double-free issuerun-undertow now returns an UndertowWrapper object. The method proxies all original Undertow methods. However, it cannot be cast to Undertow itself. To get the original Undertow object, you can access it via the getUndertow method. See PR 34:graceful-shutdown-timeout passed in will add graceful shutdown handler. PR 34custom-manager configuration option to allow custom SessionManager interface to be passed in and used instead of the default InMemorySessionManager.session-manager? (default: true), max-sessions (default: -1), server-name (default: "ring-undertow"):max-entity-size:websocket? configuration key to turn on/off websocket handling:ring-async? configuration key to support ring async handlerswebsocket? key to exchange request mapextractTokenFromHeaderio.undertow/undertow-core "2.1.1.Final"ring/ring-core "1.8.1":handler-proxy key to provide custom user handler-proxy. Must implement HttpHandlerring.adapter.undertow.middleware.sessionCan you improve this documentation? These fine people already did:
Nik Peric, Nikola Peric, Yogthos, Viktor Holmberg, Dmitri Sotnikov & dmitri.sotnikov@gmail.comEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |