TSHTTPHDRSTATUSGET(3ts) | Apache Traffic Server | TSHTTPHDRSTATUSGET(3ts) |
TSHttpHdrStatusGet - TSHttpHdrStatusGet API function
#include <ts/ts.h>
Retrieve the status code value from the HTTP response header identified by bufp and offset. The value should be an enumeration value of TSHttpStatus, although because plugins can call TSHttpHdrStatusSet() this may not be true. If the header is not a valid response then TS_HTTP_STATUS_NONE is returned.
TSHttpTxnClientRespGet(), TSHttpTxnServerRespGet(), TSHttpHdrTypeGet().
2023, dev@trafficserver.apache.org
November 2, 2023 | 9.2 |