RHTTPMessage Class Reference
An abstract HTTP message. In RFC2616, an HTTP message is defined as having a header and an optional body. This class is specialised for HTTP requests and responses.
Constructor & Destructor Documentation
Member Functions Documentation
Body()
Gets the body. The body is supplied as a MHTTPDataSupplier, which can be used to return the current data chunk, and to acknowledge when that chunk has been consumed by the client.
Note that the client can assume the body object will remain unchanged from when it receives the first data until the end of the transaction.
GetHeaderCollection()
Returns the header collection for the message
HasBody()
IMPORT_C TBool | HasBody | ( | ) | const |
Determine whether this message has any associated body data.
RemoveBody()
IMPORT_C void | RemoveBody | ( | ) | |
SetBody(MHTTPDataSupplier &)
Sets the messages body, replacing any existing body. The body is supplied as a MHTTPDataSupplier, which will then return the data in 1 or more chunks on request.
Member Data Documentation
CMessage * iImplementation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.