📄 wwwhttp.h
字号:
/* W3C Sample Code Library libwww HTTP Client/Server Module! Declaration of W3C Sample Code HTTP Module!*//*** (c) COPYRIGHT MIT 1995.** Please first read the full copyright statement in the file COPYRIGH.*//*This is the include file for all HTTP access including theserver side and the clientside. It can be used together with the core ofthe W3C Sample Code Library. It contains all HTTP specific modules whichare required to compile and build the HTTP DLL.*/#ifndef WWWHTTP_H#define WWWHTTP_H/**/#ifdef __cplusplusextern "C" { #endif/*( System dependencies)The wwwsys.h file includes system-specific includefiles and flags for I/O to network and disk. The only reason for this fileis that the Internet world is more complicated than Posix and ANSI.*/#include "wwwsys.h"/*( Basic HTTP definitions and utilities)A small set of very basic HTTP stuff*/#include "HTTPUtil.h"/*( HTTP Client State Machine)The client statue machine handles the client side of HTTP generating requestsand parsing responses.*/#include "HTTP.h"/*( HTTP Server State Machine)The HTTP module also contains a very simple server module which can be usedfor experimenting but which is not a full blown server.*/#include "HTTPServ.h" /* HTTP server state machine *//*( General HTTP Header Stream)The HTTP Request stream generates a HTTP request header and writes it tothe target which is normally a HTWriter stream.*/#include "HTTPGen.h"/*( Client-side Request Generator Stream)The HTTP Request stream generates a HTTP request header and writes it tothe target which is normally a HTWriter stream.*/#include "HTTPReq.h"/*( Server-side Response Generator Stream)The HTTP response stream generates a HTTP response header and writes it tothe target which is normally a HTWriter stream.*/#include "HTTPRes.h"/*( Chunked Encoding and Decoding)Chunked transfer encoding and decoding is new in HTTP/1.1. It allows applicationsto use persistent connections while not knowing the content length a priorito the response header is generated.*/#include "HTTChunk.h"/*( HTTP Extensions and PEP)The PEP Manager is a registry for PEP Protocolsthat follow the generic syntax defined by theHTTP PEP protocol headers. All PEPProtocols are registered at run-time in form of a PEP Module.A PEP Module consists of the following:*/#include "HTPEP.h"/*( Generic Authentication)The Authentication Manager is a registryfor Authentication Schemes that follow the generic syntax definedby the HTTP WWW-authenticateand Authorization headers. Currently, the only scheme definedis Basic Authentication, but Digest Authentication will soonfollow. All Authentication Schemes are registered at run-time in formof an Authentication Module. An Authentication Module consistsof the following:*/#include "HTAAUtil.h"/*( Client Side Authentication)Contains code for parsing challenges and creating credentials for basic anddigest authentication schemes. See also the HTAAUtilmodule for how to handle other authentication schemes. */#include "HTAABrow.h"/*End of HTTP module*/#ifdef __cplusplus} /* end extern C definitions */#endif#endif/* @(#) $Id: WWWHTTP.html,v 2.13 1998/05/04 19:37:51 frystyk Exp $*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -