Added cancel method to WebsocketServerOutputTransport
This commit is contained in:
@@ -200,6 +200,10 @@ class WebsocketServerOutputTransport(BaseOutputTransport):
|
|||||||
await super().stop(frame)
|
await super().stop(frame)
|
||||||
await self._write_frame(frame)
|
await self._write_frame(frame)
|
||||||
|
|
||||||
|
async def cancel(self, frame: CancelFrame):
|
||||||
|
await super().cancel(frame)
|
||||||
|
await self._write_frame(frame)
|
||||||
|
|
||||||
async def cleanup(self):
|
async def cleanup(self):
|
||||||
await super().cleanup()
|
await super().cleanup()
|
||||||
await self._transport.cleanup()
|
await self._transport.cleanup()
|
||||||
|
|||||||
Reference in New Issue
Block a user