📄 classphttpconnectioninfo.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>PHTTPConnectionInfo class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center><hr><h1>PHTTPConnectionInfo Class Reference</h1><code>#include <<a class="el" href="http_8h-source.html">http.h</a>></code><p><p>Inheritance diagram for PHTTPConnectionInfo:<p><center><img src="classPHTTPConnectionInfo.png" usemap="#PHTTPConnectionInfo_map" border="0" alt=""></center><map name="PHTTPConnectionInfo_map"><area href="classPObject.html" alt="PObject" shape="rect" coords="0,0,136,24"></map><a href="classPHTTPConnectionInfo-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a0">PHTTPConnectionInfo</a> ()</td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPHTTP.html#s42">PHTTP::Commands</a> </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a1">GetCommandCode</a> () const</td></tr><tr><td nowrap align=right valign=top>const <a class="el" href="classPString.html">PString</a> & </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a2">GetCommandName</a> () const</td></tr><tr><td nowrap align=right valign=top>const <a class="el" href="classPURL.html">PURL</a> & </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a3">GetURL</a> () const</td></tr><tr><td nowrap align=right valign=top>const <a class="el" href="classPMIMEInfo.html">PMIMEInfo</a> & </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a4">GetMIME</a> () const</td></tr><tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a5">SetMIME</a> (const <a class="el" href="classPString.html">PString</a> &tag, const <a class="el" href="classPString.html">PString</a> &value)</td></tr><tr><td nowrap align=right valign=top>BOOL </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a6">IsCompatible</a> (int major, int minor) const</td></tr><tr><td nowrap align=right valign=top>BOOL </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a7">IsPersistant</a> () const</td></tr><tr><td nowrap align=right valign=top>BOOL </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a8">WasPersistant</a> () const</td></tr><tr><td nowrap align=right valign=top>BOOL </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a9">IsProxyConnection</a> () const</td></tr><tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a10">GetMajorVersion</a> () const</td></tr><tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a11">GetMinorVersion</a> () const</td></tr><tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a12">GetEntityBodyLength</a> () const</td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPTimeInterval.html">PTimeInterval</a> </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a13">GetPersistenceTimeout</a> () const</td></tr><tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a14">SetPersistenceTimeout</a> (const <a class="el" href="classPTimeInterval.html">PTimeInterval</a> &t)</td></tr><tr><td nowrap align=right valign=top>unsigned </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a15">GetPersistenceMaximumTransations</a> () const</td></tr><tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a16">SetPersistenceMaximumTransations</a> (unsigned m)</td></tr><tr><td nowrap align=right valign=top>const PMultipartFormInfoArray & </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a17">GetMultipartFormInfo</a> () const</td></tr><tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a18">ResetMultipartFormInfo</a> ()</td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPString.html">PString</a> </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#a19">GetEntityBody</a> () const</td></tr><tr><td colspan=2><br><h2>Protected Methods</h2></td></tr><tr><td nowrap align=right valign=top>BOOL </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#b0">Initialise</a> (<a class="el" href="classPHTTPServer.html">PHTTPServer</a> &server, <a class="el" href="classPString.html">PString</a> &args)</td></tr><tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#b1">DecodeMultipartFormInfo</a> (const <a class="el" href="classPString.html">PString</a> &type, const <a class="el" href="classPString.html">PString</a> &<a class="el" href="classPHTTPConnectionInfo.html#n9">entityBody</a>)</td></tr><tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPHTTP.html#s42">PHTTP::Commands</a> </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n0">commandCode</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPString.html">PString</a> </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n1">commandName</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPURL.html">PURL</a> </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n2">url</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPMIMEInfo.html">PMIMEInfo</a> </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n3">mimeInfo</a></td></tr><tr><td nowrap align=right valign=top>BOOL </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n4">isPersistant</a></td></tr><tr><td nowrap align=right valign=top>BOOL </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n5">wasPersistant</a></td></tr><tr><td nowrap align=right valign=top>BOOL </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n6">isProxyConnection</a></td></tr><tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n7">majorVersion</a></td></tr><tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n8">minorVersion</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPString.html">PString</a> </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n9">entityBody</a></td></tr><tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n10">entityBodyLength</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPTimeInterval.html">PTimeInterval</a> </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n11">persistenceTimeout</a></td></tr><tr><td nowrap align=right valign=top>unsigned </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n12">persistenceMaximum</a></td></tr><tr><td nowrap align=right valign=top>PMultipartFormInfoArray </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#n13">multipartFormInfoArray</a></td></tr><tr><td colspan=2><br><h2>Friends</h2></td></tr><tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classPHTTPConnectionInfo.html#l0">PHTTPServer</a></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>This object describes the connectiono associated with a HyperText Transport Protocol request. This information is required by handler functions on PHTTPResource# descendant classes to manage the connection correctly. <p><hr><h2>Constructor & Destructor Documentation</h2><a name="a0" doxytag="PHTTPConnectionInfo::PHTTPConnectionInfo"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> PHTTPConnectionInfo::PHTTPConnectionInfo </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><hr><h2>Member Function Documentation</h2><a name="b1" doxytag="PHTTPConnectionInfo::DecodeMultipartFormInfo"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void PHTTPConnectionInfo::DecodeMultipartFormInfo </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> & </td> <td class="mdname" nowrap> <em>type</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> & </td> <td class="mdname" nowrap> <em>entityBody</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a1" doxytag="PHTTPConnectionInfo::GetCommandCode"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classPHTTP.html#s42">PHTTP::Commands</a> PHTTPConnectionInfo::GetCommandCode </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a2" doxytag="PHTTPConnectionInfo::GetCommandName"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const <a class="el" href="classPString.html">PString</a>& PHTTPConnectionInfo::GetCommandName </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a19" doxytag="PHTTPConnectionInfo::GetEntityBody"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classPString.html">PString</a> PHTTPConnectionInfo::GetEntityBody </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a12" doxytag="PHTTPConnectionInfo::GetEntityBodyLength"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> long PHTTPConnectionInfo::GetEntityBodyLength </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a10" doxytag="PHTTPConnectionInfo::GetMajorVersion"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int PHTTPConnectionInfo::GetMajorVersion </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a4" doxytag="PHTTPConnectionInfo::GetMIME"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const <a class="el" href="classPMIMEInfo.html">PMIMEInfo</a>& PHTTPConnectionInfo::GetMIME </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a11" doxytag="PHTTPConnectionInfo::GetMinorVersion"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int PHTTPConnectionInfo::GetMinorVersion </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a17" doxytag="PHTTPConnectionInfo::GetMultipartFormInfo"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const PMultipartFormInfoArray& PHTTPConnectionInfo::GetMultipartFormInfo </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a15" doxytag="PHTTPConnectionInfo::GetPersistenceMaximumTransations"></a><p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -