Documentation Fix (#2703)

in the example there is an undeclared variable, this commit fix it.
This commit is contained in:
Eduardo Scartezini Correia Carvalho
2019-08-07 03:30:17 -03:00
committed by Joerg-Christian Boehme
parent ccdae6d338
commit 680591632f

View File

@@ -49,7 +49,7 @@ class Net_API HTTPCredentials
/// Poco::Net::HTTPClientSession session("pocoproject.org"); /// Poco::Net::HTTPClientSession session("pocoproject.org");
/// Poco::Net::HTTPRequest request(HTTPRequest::HTTP_GET, "/index.html", HTTPMessage::HTTP_1_1); /// Poco::Net::HTTPRequest request(HTTPRequest::HTTP_GET, "/index.html", HTTPMessage::HTTP_1_1);
/// session.sendRequest(request); /// session.sendRequest(request);
/// Poco::Net::HTTPResponse; /// Poco::Net::HTTPResponse response;
/// std::istream& istr = session.receiveResponse(response); /// std::istream& istr = session.receiveResponse(response);
/// ///
/// If the server responds with a 401 status, authenticate the /// If the server responds with a 401 status, authenticate the