mirror of
https://github.com/fastogt/fastocloud_admin.git
synced 2025-03-09 23:38:52 +00:00
Check req/resp
This commit is contained in:
parent
eba1998c1e
commit
e66f768030
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,9 @@ class SubscribersServiceManager(ServiceManager, IClientHandler):
|
||||||
self.__close_subscriber(client)
|
self.__close_subscriber(client)
|
||||||
|
|
||||||
def process_response(self, client, req: Request, resp: Response):
|
def process_response(self, client, req: Request, resp: Response):
|
||||||
|
if not req or not resp:
|
||||||
|
return
|
||||||
|
|
||||||
if req.method == Commands.SERVER_PING:
|
if req.method == Commands.SERVER_PING:
|
||||||
self._handle_server_ping_command(client, resp)
|
self._handle_server_ping_command(client, resp)
|
||||||
elif req.method == Commands.SERVER_GET_CLIENT_INFO:
|
elif req.method == Commands.SERVER_GET_CLIENT_INFO:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue