blob: cb37104258437ff489cd809d77a0b054554cbb69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2013-2016 Glyn Matthews.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef NETWORK_DETAIL_URI_PARSE_AUTHORITY_INC
#define NETWORK_DETAIL_URI_PARSE_AUTHORITY_INC
#include <network/uri/detail/uri_parts.hpp>
namespace network {
namespace detail {
bool parse_authority(string_view::const_iterator &first,
string_view::const_iterator last,
optional<uri_part> &user_info,
optional<uri_part> &host,
optional<uri_part> &port);
} // namespace detail
} // namespace network
#endif // NETWORK_DETAIL_URI_PARSE_AUTHORITY_INC
|