.\" Man page generated from reStructuredText. . . .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 .. .TH "TSHTTPTXNCACHELOOKUPURLGET" "3ts" "Apr 16, 2024" "9.2" "Apache Traffic Server" .SH NAME TSHttpTxnCacheLookupUrlGet \- TSHttpTxnCacheLookupUrlGet API function .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .EX #include .EE .UNINDENT .UNINDENT .INDENT 0.0 .TP .B \fI\%TSReturnCode\fP TSHttpTxnCacheLookupUrlGet(\fI\%TSHttpTxn\fP txnp, \fI\%TSMBuffer\fP bufp, \fI\%TSMLoc\fP offset) .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 \fI\%TSUrlCreate()\fP\&. .SH TSHTTPTXNCACHELOOKUPURLSET .SS Synopsis .INDENT 0.0 .INDENT 3.5 .sp .EX #include .EE .UNINDENT .UNINDENT .INDENT 0.0 .TP .B \fI\%TSReturnCode\fP TSHttpTxnCacheLookupUrlSet(\fI\%TSHttpTxn\fP txnp, \fI\%TSMBuffer\fP bufp, \fI\%TSMLoc\fP offset) .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 \fI\%TSUrlCreate()\fP or \fI\%TSUrlClone()\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 \fI\%TSCacheUrlSet()\fP, which takes a simple string as argument. .SH COPYRIGHT 2024, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .