-
Notifications
You must be signed in to change notification settings - Fork 3
Commands
Vincent edited this page Oct 23, 2017
·
1 revision
With the new version 0.9 there are new features (commands) available.
Here you can find all commands:
Command |
---|
ADDCLI |
REMCLI |
SETCLIP |
SETCLIH |
SENDRQ |
GETRQ |
ADDCLI | |
---|---|
Description: Adds a new client session. |
|
Paramter(s):
|
Result(s):
|
Status Codes:
|
REMCLI | |
---|---|
Description: Removes an added client session. |
|
Paramter(s):
|
Result(s):
|
Status Codes:
|
SETCLIP | |
---|---|
Description: Sets parameters of an client sessionif client session exists. |
|
Paramter(s):
|
Result(s):
|
Status Codes:
|
SETCLIH | |
---|---|
Description: Sets headers of an client session if exists. |
|
Paramter(s):
|
Result(s):
|
Status Codes:
|
SENDRQ | |
---|---|
Description: Sends a request depending on its input. |
|
Paramter(s): Normal-Request:
|
Result(s):
|
Status Codes:
|
GETRQ | |
---|---|
Description: Gathers the result and removes the given request. |
|
Paramter(s):
|
Result(s):
|
Status Codes:
|
clientid
is the unique id of each created client. It refers to the given parameters and (optionally) set headers.
statusCode
is the returned status of the executed task. The status result depends on which command was executed.Although, there is one error of the main application. This will be
2
.
errorCode
is the returned ArmA 3 error code. More information
key=value
is a given HTTP parameter pair.
For example: http://httpbin.org/get?**test=2**
headerDefinition
is the input for a custom or specific HTTP header.
For example:Authority: myVerySecretAuthKey
More information about HTTP Headers