chromium/net/http/http_basic_stream.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/http/http_basic_stream.h"

#include <set>
#include <string_view>
#include <utility>

#include "base/functional/bind.h"
#include "net/http/http_network_session.h"
#include "net/http/http_raw_request_headers.h"
#include "net/http/http_request_info.h"
#include "net/http/http_response_body_drainer.h"
#include "net/http/http_stream_parser.h"
#include "net/socket/stream_socket_handle.h"
#include "net/ssl/ssl_cert_request_info.h"
#include "net/ssl/ssl_info.h"

namespace net {

HttpBasicStream::HttpBasicStream(std::unique_ptr<StreamSocketHandle> connection,
                                 bool is_for_get_to_http_proxy)
    :{}

HttpBasicStream::~HttpBasicStream() = default;

void HttpBasicStream::RegisterRequest(const HttpRequestInfo* request_info) {}

int HttpBasicStream::InitializeStream(bool can_send_early,
                                      RequestPriority priority,
                                      const NetLogWithSource& net_log,
                                      CompletionOnceCallback callback) {}

int HttpBasicStream::SendRequest(const HttpRequestHeaders& headers,
                                 HttpResponseInfo* response,
                                 CompletionOnceCallback callback) {}

int HttpBasicStream::ReadResponseHeaders(CompletionOnceCallback callback) {}

int HttpBasicStream::ReadResponseBody(IOBuffer* buf,
                                      int buf_len,
                                      CompletionOnceCallback callback) {}

void HttpBasicStream::Close(bool not_reusable) {}

std::unique_ptr<HttpStream> HttpBasicStream::RenewStreamForAuth() {}

bool HttpBasicStream::IsResponseBodyComplete() const {}

bool HttpBasicStream::IsConnectionReused() const {}

void HttpBasicStream::SetConnectionReused() {}

bool HttpBasicStream::CanReuseConnection() const {}

int64_t HttpBasicStream::GetTotalReceivedBytes() const {}

int64_t HttpBasicStream::GetTotalSentBytes() const {}

bool HttpBasicStream::GetLoadTimingInfo(
    LoadTimingInfo* load_timing_info) const {}

bool HttpBasicStream::GetAlternativeService(
    AlternativeService* alternative_service) const {}

void HttpBasicStream::GetSSLInfo(SSLInfo* ssl_info) {}

int HttpBasicStream::GetRemoteEndpoint(IPEndPoint* endpoint) {}

void HttpBasicStream::Drain(HttpNetworkSession* session) {}

void HttpBasicStream::PopulateNetErrorDetails(NetErrorDetails* details) {}

void HttpBasicStream::SetPriority(RequestPriority priority) {}

void HttpBasicStream::SetRequestHeadersCallback(
    RequestHeadersCallback callback) {}

const std::set<std::string>& HttpBasicStream::GetDnsAliases() const {}

std::string_view HttpBasicStream::GetAcceptChViaAlps() const {}

void HttpBasicStream::OnHandshakeConfirmed(CompletionOnceCallback callback,
                                           int rv) {}

}  // namespace net