#include "quiche/quic/tools/quic_toy_client.h"
#include <fstream>
#include <iostream>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "absl/strings/escaping.h"
#include "absl/strings/str_split.h"
#include "absl/strings/string_view.h"
#include "quiche/quic/core/crypto/quic_client_session_cache.h"
#include "quiche/quic/core/quic_packets.h"
#include "quiche/quic/core/quic_server_id.h"
#include "quiche/quic/core/quic_utils.h"
#include "quiche/quic/core/quic_versions.h"
#include "quiche/quic/platform/api/quic_default_proof_providers.h"
#include "quiche/quic/platform/api/quic_ip_address.h"
#include "quiche/quic/platform/api/quic_socket_address.h"
#include "quiche/quic/tools/fake_proof_verifier.h"
#include "quiche/quic/tools/quic_url.h"
#include "quiche/common/http/http_header_block.h"
#include "quiche/common/platform/api/quiche_command_line_flags.h"
#include "quiche/common/platform/api/quiche_logging.h"
#include "quiche/common/quiche_text_utils.h"
namespace {
QuicheTextUtils;
}
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
DEFINE_QUICHE_COMMAND_LINE_FLAG(…);
namespace quic {
namespace {
std::unique_ptr<ClientProofSource> CreateTestClientProofSource(
absl::string_view default_client_cert_file,
absl::string_view default_client_cert_key_file) { … }
}
QuicToyClient::QuicToyClient(ClientFactory* client_factory)
: … { … }
int QuicToyClient::SendRequestsAndPrintResponses(
std::vector<std::string> urls) { … }
}