blob: 0a8a4391f5ca6c187ec1170bbff37874d0cd3d82 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "quiche/quic/masque/masque_epoll_client.h"
namespace quic {
namespace tools {
// Sends an HTTP GET request for |url_string|, proxied over the MASQUE
// connection represented by |masque_client|. A valid and owned |epoll_server|
// is required. |disable_certificate_verification| allows disabling verification
// of the HTTP server's TLS certificate.
bool SendEncapsulatedMasqueRequest(MasqueEpollClient* masque_client,
QuicEpollServer* epoll_server,
std::string url_string,
bool disable_certificate_verification);
} // namespace tools
} // namespace quic