blob: df1d7d5b18afd51801c323a22eb0c914cef33a12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// 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
|