doc improvements

This commit is contained in:
Guenter Obiltschnig 2015-10-06 11:22:51 +02:00
parent c66849f9ee
commit a856067668

View File

@ -229,10 +229,9 @@ public:
virtual bool canContinue(HTTPResponse& response); virtual bool canContinue(HTTPResponse& response);
/// If the request contains a "Expect: 100-continue" header, /// If the request contains a "Expect: 100-continue" header,
/// (see HTTPRequest::setExpectContinue()) the method can be /// (see HTTPRequest::setExpectContinue()) this method can be
/// used to check whether the server has /// used to check whether the server has sent a 100 Continue response
/// sent a 100 Continue response before continuing with the /// before continuing with the request, i.e. sending the request body.
/// request, i.e. sending the request body.
/// ///
/// Returns true if the server has responded with 100 Continue, /// Returns true if the server has responded with 100 Continue,
/// otherwise false. The HTTPResponse object contains the /// otherwise false. The HTTPResponse object contains the
@ -241,6 +240,9 @@ public:
/// In any case, receiveResponse() must be called as well in /// In any case, receiveResponse() must be called as well in
/// order to complete the request. The same HTTPResponse object /// order to complete the request. The same HTTPResponse object
/// passed to canContinue() must also be passed to receiveResponse(). /// passed to canContinue() must also be passed to receiveResponse().
///
/// This method should only be called if the request contains
/// a "Expect: 100-continue" header.
void reset(); void reset();
/// Resets the session and closes the socket. /// Resets the session and closes the socket.