(request)
| 88 | |
| 89 | @asyncio.coroutine |
| 90 | def handler(request): |
| 91 | ws = web.WebSocketResponse() |
| 92 | yield from ws.prepare(request) |
| 93 | msg = yield from ws.receive_str() |
| 94 | ws.send_str(msg+'/answer') |
| 95 | yield from ws.close() |
| 96 | closed.set_result(1) |
| 97 | return ws |
| 98 | |
| 99 | @asyncio.coroutine |
| 100 | def go(): |
nothing calls this directly
no test coverage detected