Lines Matching refs:connection_
136 if (!SendRequestIfNeeded(error) || !connection_->FinishRequest(error)) in GetResponseAndBlock()
138 std::unique_ptr<Response> response(new Response(connection_)); in GetResponseAndBlock()
139 connection_.reset(); in GetResponseAndBlock()
153 connection_->FinishRequestAsync(success_callback, error_callback); in GetResponse()
154 connection_.reset(); in GetResponse()
193 return stream && connection_->SetRequestData(std::move(stream), error); in AddRequestBody()
198 connection_->SetRequestData(std::move(stream), error); in AddRequestBody()
206 return connection_->SetRequestData(form_data->ExtractDataStream(), error); in AddRequestBodyAsFormData()
212 connection_->SetResponseData(std::move(stream)); in AddResponseStream()
244 if (!connection_) { in SendRequestIfNeeded()
274 connection_ = transport_->CreateConnection( in SendRequestIfNeeded()
278 if (connection_) in SendRequestIfNeeded()
294 : connection_{connection} { in Response()
308 if (!connection_) in GetStatusCode()
311 return connection_->GetResponseStatusCode(); in GetStatusCode()
315 if (!connection_) in GetStatusText()
318 return connection_->GetResponseStatusText(); in GetStatusText()
326 return connection_->ExtractDataStream(error); in ExtractDataStream()
331 StreamPtr src_stream = connection_->ExtractDataStream(nullptr); in ExtractData()
350 if (connection_) in GetHeader()
351 return connection_->GetResponseHeader(header_name); in GetHeader()