Home | History | Annotate | Download | only in http

Lines Matching refs:Response

134 std::unique_ptr<Response> Request::GetResponseAndBlock(
137 return std::unique_ptr<Response>();
138 std::unique_ptr<Response> response(new Response(connection_));
140 transport_.reset(); // Indicate that the response has been received
141 return response;
285 "HTTP response already received");
291 // ********************** Response Class **********************
293 Response::Response(const std::shared_ptr<Connection>& connection)
295 VLOG(1) << "http::Response created";
298 Response::~Response() {
299 VLOG(1) << "http::Response destroyed";
302 bool Response::IsSuccessful() const {
307 int Response::GetStatusCode() const {
314 std::string Response::GetStatusText() const {
321 std::string Response::GetContentType() const {
325 StreamPtr Response::ExtractDataStream(ErrorPtr* error) {
329 std::vector<uint8_t> Response::ExtractData() {
344 std::string Response::ExtractDataAsString() {
349 std::string Response::GetHeader(const std::string& header_name) const {