.\" Man page generated from reStructuredText. . .TH "TSHTTPCONNECT" "3ts" "Mar 08, 2019" "7.1" "Apache Traffic Server" .SH NAME TSHttpConnect \- TSHttpConnect 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 TSVConn TSHttpConnect(sockaddr const *\fI\ addr\fP) .UNINDENT .SH DESCRIPTION .sp Allows the plugin to initiate an HTTP connection. .sp The \fBTSVConn\fP the plugin receives as the result of successful operates identically to one created through \fBTSNetConnect\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 \fBTSNetConnect()\fP\&. \fI\%TSHttpConnect()\fP is more efficient than \fBTSNetConnect()\fP to localhost since it avoids the overhead of passing the data through the operating system. .SH COPYRIGHT 2019, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .