(request)
| 9 | |
| 10 | @asyncio.coroutine |
| 11 | def handler(request): |
| 12 | ws = web.WebSocketResponse() |
| 13 | yield from ws.prepare(request) |
| 14 | |
| 15 | msg = yield from ws.receive_str() |
| 16 | ws.send_str(msg+'/answer') |
| 17 | yield from ws.close() |
| 18 | return ws |
| 19 | |
| 20 | app, client = yield from create_app_and_client() |
| 21 | app.router.add_route('GET', '/', handler) |
nothing calls this directly
no test coverage detected