.\" Man page generated from reStructuredText. . .TH "TSHTTPTXNCACHELOOKUPURLGET" "3ts" "Mar 08, 2019" "7.1" "Apache Traffic Server" .SH NAME TSHttpTxnCacheLookupUrlGet \- TSHttpTxnCacheLookupUrlGet API function . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fI#include \fP .INDENT 0.0 .TP .B TSReturnCode TSHttpTxnCacheLookupUrlGet(TSHttpTxn\fI\ txnp\fP, TSMBuffer\fI\ bufp\fP, TSMLoc\fI\ offset\fP) .UNINDENT .SH DESCRIPTION .sp 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 \fBTSUrlCreate()\fP\&. .SH TSHTTPTXNCACHELOOKUPURLSET .SS Synopsis .sp \fI#include \fP .INDENT 0.0 .TP .B TSReturnCode TSHttpTxnCacheLookupUrlSet(TSHttpTxn\fI\ txnp\fP, TSMBuffer\fI\ bufp\fP, TSMLoc\fI\ offset\fP) .UNINDENT .SS Description .sp 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 \fBTSUrlCreate()\fP or \fBTSUrlClone()\fP\&. .sp This API can be called as early as \fBTS_HTTP_READ_REQUEST_HDR_HOOK\fP but no later than \fBTS_HTTP_POST_REMAP_HOOK\fP\&. This is the preferred and most efficient way to modify the cache key, but an alternative is to use the old \fBTSCacheUrlSet()\fP, which takes a simple string as argument. .SH COPYRIGHT 2019, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .