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

TSHttpTxnCacheLookupUrlGet - TSHttpTxnCacheLookupUrlGet API function

Description

       Get  the  current  cache  key  URL, also referred to as the lookup URL. This must be stored in a properly
       allocated URL object, typically created with a TSUrlCreate().

Name

       TSHttpTxnCacheLookupUrlGet - TSHttpTxnCacheLookupUrlGet API function

Synopsis

          #include <ts/ts.h>

       TSReturnCodeTSHttpTxnCacheLookupUrlGet(TSHttpTxntxnp,TSMBufferbufp,TSMLocoffset)

Tshttptxncachelookupurlset

Synopsis
          #include <ts/ts.h>

       TSReturnCodeTSHttpTxnCacheLookupUrlSet(TSHttpTxntxnp,TSMBufferbufp,TSMLocoffset)Description
       Set the current cache key URL, also referred to as the lookup URL. This must  be  stored  in  a  properly
       allocated URL object, typically created with a TSUrlCreate() or TSUrlClone().

       This   API   can   be   called   as   early   as   TS_HTTP_READ_REQUEST_HDR_HOOK   but   no   later  than
       TS_HTTP_POST_REMAP_HOOK. This is the preferred and most efficient way to modify the  cache  key,  but  an
       alternative is to use the old TSCacheUrlSet(), which takes a simple string as argument.

See Also