TSHttpType

Synopsis

#include <ts/apidefs.h>

type TSHttpType

Enum typedef which defines the possible HTTP types assigned to an HTTP header, as returned by TSHttpHdrTypeGet(). Headers created by TSHttpHdrCreate() receive TS_HTTP_TYPE_UNKNOWN by default and may be modified once by using TSHttpHdrTypeSet().

Enumeration Members

TSHttpType TS_HTTP_TYPE_UNKNOWN

Default for new headers created by TSHttpHdrCreate().

TSHttpType TS_HTTP_TYPE_REQUEST

HTTP request headers.

TSHttpType TS_HTTP_TYPE_RESPONSE

HTTP response headers.

Description