Unbuffered.
This commit is contained in:
		
							parent
							
								
									0a70e80668
								
							
						
					
					
						commit
						bfdfa6c8bb
					
				| @ -129,11 +129,11 @@ class RPCView(BaseView): | |||||||
|             except Exception as ex: |             except Exception as ex: | ||||||
|                 await self._send_json({"callId":call_id,"success":False,"data":str(ex)}) |                 await self._send_json({"callId":call_id,"success":False,"data":str(ex)}) | ||||||
| 
 | 
 | ||||||
|     async def _send_json(self,obj): |         async def _send_json(self,obj): | ||||||
|         await self.ws.send_text(json.dumps(obj,default=str)) |             await self.ws.send_text(json.dumps(obj,default=str)) | ||||||
| 
 | 
 | ||||||
|     async def call_ping(self,callId,*args): |         async def call_ping(self,callId,*args): | ||||||
|         return {"pong": args} |             return {"pong": args} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|     async def get(self): |     async def get(self): | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user