-
Notifications
You must be signed in to change notification settings - Fork 0
Service & Client Protocols
Crazy Chenz edited this page Oct 25, 2019
·
3 revisions
- All services and clients must respond to valid echo requests.
- The only valid purpose of an echo request for a client is to verify service responsiveness.
- The only valid purposes of an echo request for a client is to verify client responsiveness and client latency.
| Property | Type | Description |
|---|---|---|
| channel_id | int | Channel ID |
| direction | int | Direction |
| data | string | Data to echo |
Example Echo Request:
{
'type': 'echo_request',
'direction': [direction],
'channel_id': [channel_id],
'data': "[data]"
}
| Property | Type | Description |
|---|---|---|
| channel_id | int | Channel ID |
| direction | int | Direction |
| data | string | Data to echo |
Example Echo Request:
{
'type': 'echo_response',
'direction': [direction],
'channel_id': [channel_id],
'data': "[data]"
}