Diff for /libwww/Library/src/HTReq.html between versions 2.26 and 2.27

version 2.26, 1996/04/03 22:10:06 version 2.27, 1996/04/12 17:48:38
Line 1 Line 1
 <HTML>  <HTML>
 <HEAD>  <HEAD>
 <TITLE>W3C Reference Library libwww Public REQUEST OBJECT PUBLIC</TITLE>  <TITLE>W3C Reference Library libwww Public REQUEST OBJECT PUBLIC</TITLE>
 <!-- Changed by: Henrik Frystyk Nielsen, 19-Feb-1996 -->  <!-- Changed by: Henrik Frystyk Nielsen, 12-Apr-1996 -->
 <!-- Changed by: Eric Prud'hommeaux, 21-Mar-1996 -->  
 <NEXTID N="z11">  
 </HEAD>  </HEAD>
 <BODY>  <BODY>
   
Line 34  Reference Library</A>. <P> Line 32  Reference Library</A>. <P>
 typedef long HTRequestID;  typedef long HTRequestID;
 typedef struct _HTRequest HTRequest;  typedef struct _HTRequest HTRequest;
   
   #include "HTEvntrg.h"
 #include "HTList.h"  #include "HTList.h"
 #include "HTAssoc.h"  #include "HTAssoc.h"
 #include "HTFormat.h"  #include "HTFormat.h"
 #include "HTStream.h"  #include "HTStream.h"
 #include "HTEvntrg.h"  
 #include "HTError.h"  #include "HTError.h"
 #include "HTNet.h"  #include "HTNet.h"
 </PRE>  </PRE>
Line 121  extern void HTRequest_setAnchor (HTReque Line 119  extern void HTRequest_setAnchor (HTReque
 extern HTParentAnchor * HTRequest_anchor (HTRequest *request);  extern HTParentAnchor * HTRequest_anchor (HTRequest *request);
 </PRE>  </PRE>
   
 <H2>Bind an Access to a request</H2>  
   
 This is done if you are a server. In this case you do not need an anchor  
   
 <PRE>  
 #if 0  
 extern void HTRequest_setAccess (HTRequest * request, char * access);  
 extern const char * HTRequest_access (HTRequest * request);  
 #endif  
 </PRE>  
   
 <H2>Set the Method</H2>  <H2>Set the Method</H2>
   
 The Method is the operation to be executed on the requested  The Method is the operation to be executed on the requested
Line 280  extern void HTRequest_setConversion (HTR Line 267  extern void HTRequest_setConversion (HTR
 extern HTList * HTRequest_conversion (HTRequest *request);  extern HTList * HTRequest_conversion (HTRequest *request);
 </PRE>  </PRE>
   
 <H3>Content Encodings</H3>  <H3>Content Encodings and Decodings</H3>
   
 The list of encodings acceptable in the output stream.  The list of encodings acceptable in the output stream.
   
Line 461  following type using the methods provide Line 448  following type using the methods provide
 typedef int HTPostCallback (HTRequest * request, HTStream * target);  typedef int HTPostCallback (HTRequest * request, HTStream * target);
 </PRE>  </PRE>
   
   <H3>Input Stream</H3>
   
   The input stream is to be used to put data <EM>to</EM> the
   network. Normally each protocol sets the input stream in order to
   generate the protocol headers while making a request.
   
   <PRE>
   extern void HTRequest_setInputStream (HTRequest * request, HTStream * input);
   extern HTStream *HTRequest_inputStream (HTRequest * request);
   </PRE>
   
 <H3>Extra Headers</H3>  <H3>Extra Headers</H3>
   
 Extra header information can be send along with a request using this  Extra header information can be send along with a request using this
Line 685  extern BOOL HTRequest_kill(HTRequest * r Line 683  extern BOOL HTRequest_kill(HTRequest * r
 <PRE>  <PRE>
 #endif /* HTREQ_H */  #endif /* HTREQ_H */
 </PRE>  </PRE>
 End of declaration  
   <HR>
   <ADDRESS>
   @(#) $Id$
   </ADDRESS>
 </BODY>  </BODY>
 </HTML>  </HTML>

Removed from v.2.26  
changed lines
  Added in v.2.27


Webmaster