Blame view

3rdparty/boost_1_81_0/boost/url/parse_query.hpp 1.15 KB
0b6a182c   Hu Chunming   添加无鉴权注册和注销
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
  //
  // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
  // Copyright (c) 2022 Alan de Freitas (alandefreitas@gmail.com)
  //
  // 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)
  //
  // Official repository: https://github.com/CPPAlliance/url
  //
  
  #ifndef BOOST_URL_PARSE_PARAMS_HPP
  #define BOOST_URL_PARSE_PARAMS_HPP
  
  #include <boost/url/detail/config.hpp>
  #include <boost/url/error_types.hpp>
  #include <boost/url/params_encoded_view.hpp>
  #include <boost/url/string_view.hpp>
  
  namespace boost {
  namespace urls {
  
  /** Parse a string and return an encoded params view
  
      This function parses the string and returns the
      corresponding params object if the string is valid,
      otherwise returns an error.
  
      @par BNF
      @code
      @endcode
  
      @par Exception Safety
      No-throw guarantee.
  
      @return A valid view on success, otherwise an
      error code.
  
      @param s The string to parse
  
      @par Specification
  
      @see
          @ref params_encoded_view.
  */
  BOOST_URL_DECL
  result<params_encoded_view>
  parse_query(string_view s) noexcept;
  
  } // urls
  } // boost
  
  #endif