How to add service information into STATUS action response in streaming

Request in websocket:

{"id": 11, "type":"GetStatus", "body": {}}

Response from websocket:

{"type": "Status", "id":11, "body": {"mt":"OK", "account":87622, "server_code": "UNKNOWN", "build": "UNDEFINED", "version": "UNKNOWN"}}

In case of error: Unexpected response code: 400

this is a message from the standard error handler; if the server_code is incorrect, the message sever code: {server_code}, is not presented in config is written in the response body.

Last updated