const auto& http_response_code_details = (stream && stream->streamInfo().responseCodeDetails())
skip_envoy_headers_(config.envoy_grpc().skip_envoy_headers()), cm_(context.clusterManager()),
std::make_unique<AsyncStreamImpl>(*this, service_full_name, method_name, callbacks, options);
current_span_ = options.parent_span_->spawnChild(Tracing::EgressConfig::get(), child_span_name,
const auto thread_local_cluster = parent_.cm_.getThreadLocalCluster(parent_.remote_cluster_name_);
stream_ = http_async_client.start(*this, options_.setBufferBodyForRetry(buffer_body_for_retry));
// Pending on https://github.com/envoyproxy/envoy/issues/39054, we are not doing "-bin" decoding
// Pending on https://github.com/envoyproxy/envoy/issues/39054, we are not doing "-bin" decoding
void AsyncStreamImpl::streamError(Status::GrpcStatus grpc_status, const std::string& message) {
AsyncRequestImpl::AsyncRequestImpl(AsyncClientImpl& parent, absl::string_view service_full_name,
void AsyncRequestImpl::onRemoteClose(Grpc::Status::GrpcStatus status, const std::string& message) {