File:  [Public] / libwww / Library / src / HTTP.html
Revision 2.37: download - view: text, annotated - select for diffs
Sat Feb 7 23:59:28 1998 UTC (26 years, 4 months ago) by frystyk
Branches: MAIN
CVS tags: Release-5-1l, Release-5-1k, Release-5-1j, HEAD
*** empty log message ***

<HTML>
<HEAD>
  <!-- Changed by: Henrik Frystyk Nielsen, 17-May-1996 -->
  <TITLE>W3C Sample Code Library libwww HTTP Client</TITLE>
</HEAD>
<BODY>
<H1>
  Multi Threaded HyperText Tranfer Protocol Client Module
</H1>
<PRE>
/*
**	(c) COPYRIGHT MIT 1995.
**	Please first read the full copyright statement in the file COPYRIGH.
*/
</PRE>
<P>
This is the HTTP client module. This is actually a very small definition
file as almost everything is set up elsewhere.
<P>
This module is implemented by <A HREF="HTTP.c">HTTP.c</A>, and it is a part
of the <A HREF="http://www.w3.org/pub/WWW/Library/">W3C Sample Code Library</A>.
<PRE>
#ifndef HTTP_H
#define HTTP_H

#include "HTProt.h"
#include "HTStream.h"
</PRE>
<H3>
  HTTP Client Connection Mode
</H3>
<P>
The HTTP client module supports various modes for communicating with HTTP
servers. The mode are defined by the enumeration below.
<PRE>
typedef enum _HTTPConnectionMode { 
    HTTP_11_PIPELINING     = 0x1,
    HTTP_11_NO_PIPELINING  = 0x2, 
    HTTP_11_MUX            = 0x4,
    HTTP_FORCE_10          = 0x8
} HTTPConnectionMode; 

extern void HTTP_setConnectionMode (HTTPConnectionMode mode);
extern HTTPConnectionMode HTTP_connectionMode (void);
</PRE>
<H3>
  HTTP Event Handler
</H3>
<P>
The event handler is the actual HTTP client state machine taking care of
the communication.
<PRE>
extern HTProtCallback HTLoadHTTP;
extern HTConverter HTTPStatus_new;

#endif /* HTTP_H */
</PRE>
<P>
  <HR>
<ADDRESS>
  @(#) $Id: HTTP.html,v 2.37 1998/02/07 23:59:28 frystyk Exp $
</ADDRESS>
</BODY></HTML>

Webmaster