ADAPT::result¶
Description¶
The ADAPT::result command sets or returns the adaption result code.
Syntax¶
ADAPT::result
ADAPT::result request
ADAPT::result response
ADAPT::result <code>
ADAPT::result request <code>
ADAPT::result response <code>
#v12 introduces optional context parameter, where <ctx> represents a context handle
ADAPT::result [<ctx>]
ADAPT::result [<ctx>] request
ADAPT::result [<ctx>] response
ADAPT::result [<ctx>] <code>
ADAPT::result [<ctx>] request <code>
ADAPT::result [<ctx>] response <code>
Notes: The request-adapt side cannot modify attributes on the
response-adapt side until the connection has been established with the
server. Possible result codes are:
- unknown - The internal virtual server has not returned a result yet. It is not possible to change the result code to this value.
- bypass - The internal virtual server does not need to modify the request or response.
- modify - The internal virtual server is modifying the request or result. It is not possible to change the result code to this value.
- respond - (request-adapt only) The internal virtual server is returning a HTTP response for the provided HTTP request. It is not possible to change the result code to this value.
- close - The adaptation server closed the connection before receiving an answer. The adaptation profile will respond to this state as directed by the service-down-action mode. Changing the result code to this value will force the service_down_action to be applied.
- reset - The connection with the adaptation server was reset before receiving an answer. The adaptation profile will respond to this state as directed by the service-down-action mode. It is not possible to change the result code to this value.
- timeout - A timeout occurred before the adaptation server was reset before receiving an answer. The adaptation profile will respond to this state as directed by the service-down-action mode. It is not possible to change the result code to this value.