(self)
| 212 | return await future |
| 213 | |
| 214 | def wait_for_web_socket(self) -> 'asyncio.Future["WebSocketProtocol"]': |
| 215 | future: asyncio.Future[WebSocketProtocol] = asyncio.Future() |
| 216 | self.once_web_socket_connection(future.set_result) |
| 217 | return future |
| 218 | |
| 219 | @contextlib.contextmanager |
| 220 | def expect_request( |