Skip to content

CallExtension return code's

Vincent Heins edited this page Jan 6, 2019 · 10 revisions

Here are the current available return codes of this modification:

SENDRQ return codes

Return Code Description
0 No error
2 A basic error
10 Missing URL argument
11 Missing Method argument
12 Missing client id argument
13 Missing maximum redirect amount argument
14 Missing connection timeout argument

GETRQ, GETST return codes

Return Code Description
0 The requested text is pending.
First, it indicates that the result buffer is bigger than 10200 bytes.
Second, it says that there is (minimum) one more call of GETRQ needed to receive the full HTTP server result.
1 The request is currently fetched/pending.
2 An error occurred. Currently there is no exact definition for the error. This should be changed in the next versions.

Additional GETRQ information

Generally speaking, everything equal or greater than 2 and equal or lower than 20 will be an error. Also, everything greater or equal 100 is an HTTP status code. If there are custom HTTP status codes lower than 100 used, this mod can not guarantee a successful request.

There is no such as a 'finished' status code because the result set gets removed after the last bytes of a text are received by GETRQ.

Clone this wiki locally