Data Members



HeaderMap

public:
  typedef  map<  string,  string  >  HeaderMap;

A data member of this type is used to hold the headers returned by the server.


kBufferSize

public:
 static const size_t kBufferSize;

The value of this constant is B_PAGE_SIZE. If you want to tweak this, the value must be a multiple of B_PAGE_SIZE (4096) because areas are used to hold the incoming data.


kHttpPort

public:
 static const int kHttpPort;

This is the default port that HTTP servers accept connections on (port 80).


kHttpVersion

public:
 static const char* const kHttpVersion;

The value of this constant is "HTTP/1.0", as HttpStream only implements the functionality of a version 1.0 client.


© 2000 BeUnited — (Last Updated 5/10/2000)