.\" 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 "TSHTTPCONNECT" "3ts" "Jan 06, 2024" "9.2" "Apache Traffic Server" .SH NAME TSHttpConnect \- TSHttpConnect API function .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .EX #include .EE .UNINDENT .UNINDENT .INDENT 0.0 .TP .B \fI\%TSVConn\fP TSHttpConnect(sockaddr const *addr) .UNINDENT .SH DESCRIPTION .sp Allows the plugin to initiate an HTTP connection. .sp The \fI\%TSVConn\fP the plugin receives as the result of successful operates identically to one created through \fI\%TSNetConnect\fP\&. Aside from allowing the plugin to set the client ip and port for logging, the functionality of \fI\%TSHttpConnect()\fP is identical to connecting to localhost on the proxy port with \fI\%TSNetConnect()\fP\&. \fI\%TSHttpConnect()\fP is more efficient than \fI\%TSNetConnect()\fP to localhost since it avoids the overhead of passing the data through the operating system. .SH COPYRIGHT 2024, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .