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

📄 httpsvc_8h-source.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<!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>httpsvc.h Source File</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> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>httpsvc.h</h1><a href="httpsvc_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>00002 <span class="comment"> * httpsvc.h</span>00003 <span class="comment"> *</span>00004 <span class="comment"> * Common classes for service applications using HTTP as the user interface.</span>00005 <span class="comment"> *</span>00006 <span class="comment"> * Portable Windows Library</span>00007 <span class="comment"> *</span>00008 <span class="comment"> * Copyright (c) 1993-2002 Equivalence Pty. Ltd.</span>00009 <span class="comment"> *</span>00010 <span class="comment"> * The contents of this file are subject to the Mozilla Public License</span>00011 <span class="comment"> * Version 1.0 (the "License"); you may not use this file except in</span>00012 <span class="comment"> * compliance with the License. You may obtain a copy of the License at</span>00013 <span class="comment"> * http://www.mozilla.org/MPL/</span>00014 <span class="comment"> *</span>00015 <span class="comment"> * Software distributed under the License is distributed on an "AS IS"</span>00016 <span class="comment"> * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See</span>00017 <span class="comment"> * the License for the specific language governing rights and limitations</span>00018 <span class="comment"> * under the License.</span>00019 <span class="comment"> *</span>00020 <span class="comment"> * The Original Code is Portable Windows Library.</span>00021 <span class="comment"> *</span>00022 <span class="comment"> * The Initial Developer of the Original Code is Equivalence Pty. Ltd.</span>00023 <span class="comment"> *</span>00024 <span class="comment"> * Contributor(s): ______________________________________.</span>00025 <span class="comment"> *</span>00026 <span class="comment"> * $Log: httpsvc.h,v $</span>00027 <span class="comment"> * Revision 1.44  2003/07/15 11:17:45  csoutheren</span>00028 <span class="comment"> * Added additional constructor for PServiceHTTPString,</span>00029 <span class="comment"> *   Thanks to Federico Pinna</span>00030 <span class="comment"> *</span>00031 <span class="comment"> * Revision 1.43  2003/02/19 07:23:17  robertj</span>00032 <span class="comment"> * Changes to allow for single threaded HTTP service processes.</span>00033 <span class="comment"> *</span>00034 <span class="comment"> * Revision 1.42  2002/11/06 22:47:24  robertj</span>00035 <span class="comment"> * Fixed header comment (copyright etc)</span>00036 <span class="comment"> *</span>00037 <span class="comment"> * Revision 1.41  2002/07/30 03:47:13  craigs</span>00038 <span class="comment"> * Added PHTTPServiceString with content type</span>00039 <span class="comment"> *</span>00040 <span class="comment"> * Revision 1.40  2002/07/17 08:02:53  robertj</span>00041 <span class="comment"> * Allowed for adjustable copyright holder</span>00042 <span class="comment"> *</span>00043 <span class="comment"> * Revision 1.39  2002/02/05 22:53:14  robertj</span>00044 <span class="comment"> * Changed default for HTTP listener to reuse addresses.</span>00045 <span class="comment"> *</span>00046 <span class="comment"> * Revision 1.38  2001/10/10 08:06:34  robertj</span>00047 <span class="comment"> * Fixed problem with not shutting down threads when closing listener.</span>00048 <span class="comment"> *</span>00049 <span class="comment"> * Revision 1.37  2001/08/28 06:44:30  craigs</span>00050 <span class="comment"> * Added ability to override PHTTPServer creation</span>00051 <span class="comment"> *</span>00052 <span class="comment"> * Revision 1.36  2001/06/23 00:32:15  robertj</span>00053 <span class="comment"> * Added parameter to be able to set REUSEADDR on listener socket.</span>00054 <span class="comment"> *</span>00055 <span class="comment"> * Revision 1.35  2001/03/04 02:24:44  robertj</span>00056 <span class="comment"> * Removed default OnControl() from http service as cannot get port number.</span>00057 <span class="comment"> *</span>00058 <span class="comment"> * Revision 1.34  2001/02/20 02:32:41  robertj</span>00059 <span class="comment"> * Added PServiceMacro version that can do substitutions on blocks of HTML.</span>00060 <span class="comment"> *</span>00061 <span class="comment"> * Revision 1.33  2001/02/15 01:12:15  robertj</span>00062 <span class="comment"> * Moved some often repeated HTTP service code into PHTTPServiceProcess.</span>00063 <span class="comment"> *</span>00064 <span class="comment"> * Revision 1.32  2001/02/14 02:30:59  robertj</span>00065 <span class="comment"> * Moved HTTP Service Macro facility to public API so can be used by apps.</span>00066 <span class="comment"> * Added ability to specify the service macro keyword, defaults to "macro".</span>00067 <span class="comment"> * Added machine macro to get the OS version and hardware.</span>00068 <span class="comment"> *</span>00069 <span class="comment"> * Revision 1.31  2000/12/14 08:09:41  robertj</span>00070 <span class="comment"> * Fixed missing immediate expiry date on string and file service HTTP resourcer.</span>00071 <span class="comment"> *</span>00072 <span class="comment"> * Revision 1.30  2000/12/11 13:15:17  robertj</span>00073 <span class="comment"> * Added macro to include signed or unsigned chunks of HTML.</span>00074 <span class="comment"> * Added flag to globally ignore HTML signatures (useful for develeopment).</span>00075 <span class="comment"> *</span>00076 <span class="comment"> * Revision 1.29  2000/11/02 21:57:00  craigs</span>00077 <span class="comment"> * Added extra constructor</span>00078 <span class="comment"> *</span>00079 <span class="comment"> * Revision 1.28  2000/08/04 12:48:13  robertj</span>00080 <span class="comment"> * Added mechanism by which a service can get at new HTTP connections, eg to add SSL.</span>00081 <span class="comment"> *</span>00082 <span class="comment"> * Revision 1.27  1999/02/16 08:07:10  robertj</span>00083 <span class="comment"> * MSVC 6.0 compatibility changes.</span>00084 <span class="comment"> *</span>00085 <span class="comment"> * Revision 1.26  1998/11/30 02:50:50  robertj</span>00086 <span class="comment"> * New directory structure</span>00087 <span class="comment"> *</span>00088 <span class="comment"> * Revision 1.25  1998/10/29 11:58:51  robertj</span>00089 <span class="comment"> * Added ability to configure the HTTP threads stack size.</span>00090 <span class="comment"> *</span>00091 <span class="comment"> * Revision 1.24  1998/09/23 06:19:34  robertj</span>00092 <span class="comment"> * Added open source copyright license.</span>00093 <span class="comment"> *</span>00094 <span class="comment"> * Revision 1.23  1998/04/01 01:56:47  robertj</span>00095 <span class="comment"> * Added PServiceHTTPFile constructor so file path and URL can be different.</span>00096 <span class="comment"> *</span>00097 <span class="comment"> * Revision 1.22  1998/03/20 03:16:09  robertj</span>00098 <span class="comment"> * Added special classes for specific sepahores, PMutex and PSyncPoint.</span>00099 <span class="comment"> *</span>00100 <span class="comment"> * Revision 1.21  1998/03/17 10:16:00  robertj</span>00101 <span class="comment"> * Allowed registration page to have HTML override.</span>00102 <span class="comment"> *</span>00103 <span class="comment"> * Revision 1.20  1998/02/16 00:15:13  robertj</span>00104 <span class="comment"> * Major rewrite of application info passed in PHTTPServiceProcess constructor.</span>00105 <span class="comment"> *</span>00106 <span class="comment"> * Revision 1.19  1998/01/26 00:28:32  robertj</span>00107 <span class="comment"> * Removed POrderPage completely from httpsvc.</span>00108 <span class="comment"> * Added PHTTPAuthority to PHTTPServiceString constructor.</span>00109 <span class="comment"> * Added option flags to ProcessMacros to automatically load from file etc.</span>00110 <span class="comment"> *</span>

⌨️ 快捷键说明

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