...
Response MetaData Key | MetaData KeyId | MetaData Value | Description |
---|---|---|---|
UPDATE_PR_META_DATA | 1 fixedSize = 2 bytes, type = int16 | true fixedSize = 1 byte, type = boolean | [optional]This would indicate in response that request was handled by remote peer. So client should update PR meta data. |
ServerConfigRequest
Purpose of ServerConfigRequest request to get server config from server. Client needs to send this request after connecting to the server.
Server Response Properties | ServerPropertyId | Value | Description |
---|---|---|---|
SECURITY_ENABLED | 1 | boolean | Whether security is enabled at server |
DIFFIE_HELLMAN_KEY | 2 | byte[] | The server Diffie-Hellman key if the credential is required to encrypt. |
MAX_TIME_BETWEEN_CLIENT_PING | 3 | int32 | If the client connection is idle for MAX_TIME_BETWEEN_CLIENT_PING seconds then the server will close that connection. |
ClientConfigRequest
Purpose of ClientConfigRequest request to send client config to server. Client needs to send this request after connecting to the server.
Client Request Properties | ClientPropertyId | Value | Description |
---|---|---|---|
CLIENT_ID | 1 | string | Unique id for the client |
ClIENT_READ_TIMEOUT | 2 | int32 | The client will wait for ClIENT_READ_TIMEOUT for server response. |
DIFFIE_HELLMAN_KEY | 3 | byte[] | The client Diffie-Hellman key if the credential is required to encrypt. |
AuthRequest
Examples
PutRequest
string regionName = "ExampleRegion"
...