THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Client Request Properties | PropertyId | PropertyValue | 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
The purpose of AuthRequest to authenticate the client connection. A client can send the auth request in the following format. Before sending the auth request a client can verify the server config by sending the ServerConfigRequest. A client can send key-value pair of credentials to authenticate itself. It needs to encrypt those pairs if Diffie-Hellman encryption is enabled at the server side.
AuthRequest | ( NumberOfProperties PropertyId PropertyValue{ PropertyId PropertyValue} | NumberOfEncryptedBytes EncryptedCredentials ) | Description |
---|---|---|
NumberOfProperties | fixedSize = 2 bytes, type = int16 | |
Propertyid | bytes | |
PropertyValue | bytes | |
EncrptedCredentials | bytes |
Examples
PutRequest
string regionName = "ExampleRegion"
...