add java api for websocket testkit #21184
And additionally adds unit test for WebSocketDirectives #20466
This commit is contained in:
parent
df4a6270e6
commit
b9a05aff96
14 changed files with 342 additions and 23 deletions
|
|
@ -16,4 +16,5 @@ For more information about the WebSocket support, see :ref:`server-side-websocke
|
|||
|
||||
Example
|
||||
-------
|
||||
TODO: Example snippets for JavaDSL are subject to community contributions! Help us complete the docs, read more about it here: `write example snippets for Akka HTTP Java DSL #20466 <https://github.com/akka/akka/issues/20466>`_.
|
||||
|
||||
.. includecode:: ../../../../code/docs/http/javadsl/server/directives/WebSocketDirectivesExamplesTest.java#handleWebSocketMessages
|
||||
|
|
|
|||
|
|
@ -20,4 +20,5 @@ For more information about the WebSocket support, see :ref:`server-side-websocke
|
|||
|
||||
Example
|
||||
-------
|
||||
TODO: Example snippets for JavaDSL are subject to community contributions! Help us complete the docs, read more about it here: `write example snippets for Akka HTTP Java DSL #20466 <https://github.com/akka/akka/issues/20466>`_.
|
||||
|
||||
.. includecode:: ../../../../code/docs/http/javadsl/server/directives/WebSocketDirectivesExamplesTest.java#handleWebSocketMessagesForProtocol
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue