Class DHTTPClient

Inherits from:
Object
Declared in:
DHTTPClient.h

Class Hierarchy

    Object
      |
      +---DHTTPClient

Class Description

The DHTTPClient class implements a HTTP client. The class does not support the POST and PUT requests. Also the responses with a chunked transfer encoding are not handled.

Last modified:
23-Jul-2006 (DHTTPClient.h)

Instance Variables

private DSocket *_client
the client socket
private BOOL _shouldOpen
should the socket be opened?
private int _state
the state of the client
private DText *_server
the server host name (or proxy)
private DInetSocketAddress *_address
the address of the server (or proxy)
private int _type
the request type (DC_HEAD, DHC_GET, ..)
private int _major
the major version number (def. 1)
private int _minor
the minor version number (def. 1)
private BOOL _shouldClose
should the connection close after comm.?
private DText *_request
the request
private DData *_response
the respone
private int _respIndex
the index in the response string
private DText *_line
one line of the response
private int _reason
the received reply reason
private DText *_reasonText
the received reason text
private DHashTable *_headers
the received headers
private DData *_body
the received body in data
private BOOL _useChunked
is chunked used ?
private int _length
the length of the body
private int _peerMajor
the major version number of the peer
private int _peerMinor
the minor version number of the peer

Method Index


generated 25-Jul-2006 by ObjcDoc 3.0.0