=doc adding a note about websocket idle-timeout #19945
This commit is contained in:
parent
b54616aa87
commit
f150b23c59
4 changed files with 14 additions and 0 deletions
|
|
@ -95,6 +95,11 @@ and then responds with another text message that contains a greeting:
|
|||
.. includecode:: ../../code/docs/http/scaladsl/server/WebSocketExampleSpec.scala
|
||||
:include: websocket-handler
|
||||
|
||||
.. note::
|
||||
Inactive WebSocket connections will be dropped according to the :ref:`idle-timeout settings <idle-timeouts-scala>`.
|
||||
In case you need to keep inactive connections alive, you can either tweak your idle-timeout or inject
|
||||
'keep-alive' messages regularly.
|
||||
|
||||
Routing support
|
||||
---------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue