userver
C++ Async Framework
Toggle main menu visibility
Documentation
API Groups
Namespaces
Reference
Class List
Class Index
File List
Macros
All
e
i
l
r
t
u
Functions
Macros
e
i
l
r
t
u
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
samples/websocket_service/tests/test_websocket.py
1
# /// [Functional test]
2
async def
test_echo(websocket_client):
3
async
with
websocket_client.get(
'chat'
)
as
chat:
4
await chat.send(
'hello'
)
5
response = await chat.recv()
6
assert
response ==
'hello'
7
# /// [Functional test]
Generated on Wed Apr 30 2025 15:48:39 for userver by
Doxygen
1.13.2