Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
HttpClient.h
Go to the documentation of this file.
1
/* Project nGenEx
2
Destroyer Studios LLC
3
Copyright © 1997-2004. All Rights Reserved.
4
5
SUBSYSTEM: NetEx.lib
6
FILE: HttpClient.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
HTTP/1.1 client class
13
*/
14
15
16
#ifndef HttpClient_h
17
#define HttpClient_h
18
19
#include "
NetClient.h
"
20
#include "
HttpServer.h
"
21
22
// +-------------------------------------------------------------------+
23
24
class
HttpClient
:
public
NetClient
25
{
26
public
:
27
static
const
char
*
TYPENAME
() {
return
"HttpClient"
; }
28
29
HttpClient
(
const
NetAddr
& server_addr);
30
virtual
~HttpClient
();
31
32
int
operator ==
(
const
HttpClient
& c)
const
{
return
this
== &c; }
33
34
HttpResponse
*
DoRequest
(
HttpRequest
& request);
35
36
protected
:
37
void
CombineCookies
(
List<HttpParam>
& dst,
List<HttpParam>
& src);
38
39
List<HttpParam>
cookies
;
40
};
41
42
43
#endif HttpClient_h
NetEx
HttpClient.h
Generated on Tue Jun 5 2012 20:46:17 for Starshatter_Open by
1.8.1