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