⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classphttpresource.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
      &nbsp;    </td>    <td><p>This is called after the text has been loaded and may be used to customise or otherwise mangle a loaded piece of text. Typically this is used with HTML responses.<p>The default action for this function is to do nothing. <p>Reimplemented in <a class="el" href="classPHTTPForm.html#a4">PHTTPForm</a>, <a class="el" href="classPHTTPConfig.html#a4">PHTTPConfig</a>, <a class="el" href="classPHTTPConfigSectionList.html#a1">PHTTPConfigSectionList</a>, <a class="el" href="classPConfigPage.html#a2">PConfigPage</a>, <a class="el" href="classPConfigSectionsPage.html#a1">PConfigSectionsPage</a>, <a class="el" href="classPRegisterPage.html#a2">PRegisterPage</a>, <a class="el" href="classPServiceHTTPFile.html#a4">PServiceHTTPFile</a>, and <a class="el" href="classPServiceHTTPDirectory.html#a2">PServiceHTTPDirectory</a>.    </td>  </tr></table><a name="a11" doxytag="PHTTPResource::OnPOST"></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"> virtual BOOL PHTTPResource::OnPOST </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPHTTPServer.html">PHTTPServer</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>server</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPURL.html">PURL</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>url</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPMIMEInfo.html">PMIMEInfo</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>info</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPStringToString.html">PStringToString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>data</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPHTTPConnectionInfo.html">PHTTPConnectionInfo</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>conInfo</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Handle the POST command passed from the HTTP socket.<p>The default action is to check the authorisation for the resource and call the virtual <a class="el" href="classPHTTPResource.html#a21">Post()</a># function to handle the data being received.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if the connection may persist, FALSE if the connection must close If there is no ContentLength field in the response, this value must be FALSE for correct operation. </dl><p>Reimplemented in <a class="el" href="classPConfigPage.html#a3">PConfigPage</a>, and <a class="el" href="classPConfigSectionsPage.html#a2">PConfigSectionsPage</a>.    </td>  </tr></table><a name="a12" doxytag="PHTTPResource::OnPOSTData"></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"> virtual BOOL PHTTPResource::OnPOSTData </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPHTTPRequest.html">PHTTPRequest</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>request</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPStringToString.html">PStringToString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>data</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Send the data associated with a POST command.<p>The default action calls <a class="el" href="classPHTTPResource.html#a21">Post()</a>#.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if the connection may persist, FALSE if the connection must close. If there is no ContentLength field in the response, this value must be FALSE for correct operation. </dl><p>Reimplemented in <a class="el" href="classPXMLRPCServerResource.html#a5">PXMLRPCServerResource</a>.    </td>  </tr></table><a name="a21" doxytag="PHTTPResource::Post"></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"> virtual BOOL PHTTPResource::Post </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPHTTPRequest.html">PHTTPRequest</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>request</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPStringToString.html">PStringToString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>data</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classPHTML.html">PHTML</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>replyMessage</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get a block of data (eg HTML) that the resource contains.<p>The default action for this function is to do nothing and return success.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if the connection may persist, FALSE if the connection must close </dl><p>Reimplemented in <a class="el" href="classPHTTPForm.html#a5">PHTTPForm</a>, <a class="el" href="classPHTTPConfig.html#a5">PHTTPConfig</a>, <a class="el" href="classPHTTPConfigSectionList.html#a2">PHTTPConfigSectionList</a>, <a class="el" href="classPConfigPage.html#a4">PConfigPage</a>, <a class="el" href="classPConfigSectionsPage.html#a3">PConfigSectionsPage</a>, and <a class="el" href="classPRegisterPage.html#a3">PRegisterPage</a>.    </td>  </tr></table><a name="a17" doxytag="PHTTPResource::SendData"></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"> virtual void PHTTPResource::SendData </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPHTTPRequest.html">PHTTPRequest</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>request</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Send the data associated with a command.<p>The default action is to call the virtual <a class="el" href="classPHTTPResource.html#a18">LoadData()</a># to get a resource to be sent to the socket.     </td>  </tr></table><a name="a4" doxytag="PHTTPResource::SetAuthority"></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 PHTTPResource::SetAuthority </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPHTTPAuthority.html">PHTTPAuthority</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>auth</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Set the current authority for the resource.     </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="n2" doxytag="PHTTPResource::authority"></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="classPHTTPAuthority.html">PHTTPAuthority</a>* PHTTPResource::authority<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Authorisation method for the resource.<p>    </td>  </tr></table><a name="n0" doxytag="PHTTPResource::baseURL"></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="classPURL.html">PURL</a> PHTTPResource::baseURL<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Base URL for the resource, may accept URLS with a longer hierarchy.<p>    </td>  </tr></table><a name="n1" doxytag="PHTTPResource::contentType"></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> PHTTPResource::contentType<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>MIME content type for the resource.<p>    </td>  </tr></table><a name="n3" doxytag="PHTTPResource::hitCount"></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"> volatile DWORD PHTTPResource::hitCount<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>COunt of number of times resource was accessed.<p>    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="http_8h-source.html">http.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:17 2004 for PWLib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -