TSHttpHdrLengthGet - TSHttpHdrLengthGet API function
Contents
Copyright
2025, dev@trafficserver.apache.org
9.2 May 22, 2025 TSHTTPHDRLENGTHGET(3ts)
Description
Return the length in characters of the HTTP header specified by bufp and mloc which must specify a valid
HTTP header. Usually these values would have been obtained via an earlier call to
TSHttpTxnServerReqGet(), TSHttpTxnClientReqGet(), TSHttpTxnServerRespGet(), TSHttpTxnClientRespGet(), or
via calls to create a new HTTP header such as TSHttpHdrCreate().
Name
TSHttpHdrLengthGet - TSHttpHdrLengthGet API function
Synopsis
#include <ts/ts.h>
intTSHttpHdrLengthGet(TSMBufferbufp,TSMLocmloc)