logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

TSHttpHdrStatusGet - TSHttpHdrStatusGet API function

Description

       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.

Name

       TSHttpHdrStatusGet - TSHttpHdrStatusGet API function

See Also

TSHttpTxnClientRespGet(), TSHttpTxnServerRespGet(), TSHttpHdrTypeGet().

Synopsis

          #include <ts/ts.h>

       TSHttpStatusTSHttpHdrStatusGet(TSMBufferbufp,TSMLocoffset)

See Also