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

TSRemapFrom/ToUrlGet - TSRemapFromToUrlGet API function

Description

       These  functions  are  useful  for  transactions  where  the  URL  is remapped, due to matching a line in
       remap.config.   TSRemapFromUrlGet()  returns  the  from  URL  in  the  matching  line  in   remap.config.
       TSRemapToUrlGet()  returns the to URL in the matching line in remap.config.  This info is available at or
       after the TS_HTTP_POST_REMAP_HOOK hook.  If the function returns TS_SUCCESS, the location of the  URL  is
       put into the variable pointed to by urlLocp.  On error, the function returns TS_ERROR.

Name

       TSRemapFrom/ToUrlGet - TSRemapFromToUrlGet API function

Synopsis

          #include <ts/ts.h>

       TSReturnCodeTSRemapFromUrlGet(TSHttpTxntxnp,TSMLoc*urlLocp)TSReturnCodeTSRemapToUrlGet(TSHttpTxntxnp,TSMLoc*urlLocp)

See Also