WBSR gate, PEEK function
The PEEK function peeks an HTTP request's header to determine whether the request can directly attach the user transaction or not.
Input Parameters
- SOCKET_TOKEN
- Associated socket token of the request.
Output Parameters
- TOKEN
- Token uniquely identifying the WebRequestBlock associated with this HTTP request.
- ATTACH_TRANID
- Transaction ID of web alias transaction to be attached to continue processing the HTTP request.
- REASON
- The following values are returned when RESPONSE is DISASTER:
- LOGIC_ERROR
- The following values are returned when RESPONSE is EXCEPTION:
- NOT_ELIGIBLE
- PEEK_ERROR
- METHOD_NOT_IMPLEMENTED
- HEADER_CONVERSTION_ERROR
- UNAVAILABLE
- URIMAP_LOOKUP_FAILED
- CLIENT_AUTHENTICATE_ERROR
- BASIC_AUTHENTICATE_ERROR
- CONNECTION_CLOSED
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.