Ada 2.7.8
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
state.h
Go to the documentation of this file.
1
5#ifndef ADA_STATE_H
6#define ADA_STATE_H
7
8#include "ada/common_defs.h"
9
10#include <string>
11
12namespace ada {
13
17enum class state {
22
27
31 SCHEME,
32
36 HOST,
37
42
47
52
57
61 FILE,
62
67
72
77
82
87
92
96 QUERY,
97
101 PATH,
102
107
112
116 PORT,
117};
118
123
124} // namespace ada
125
126#endif // ADA_STATE_H
Common definitions for cross-platform compiler support.
#define ada_warn_unused
Definition common_defs.h:88
Definition ada_idna.h:13
ada_warn_unused std::string to_string(encoding_type type)
state
Definition state.h:17
@ SPECIAL_RELATIVE_OR_AUTHORITY
@ SPECIAL_AUTHORITY_SLASHES
@ SPECIAL_AUTHORITY_IGNORE_SLASHES
ada_warn_unused ada::result< result_type > parse(std::string_view input, const result_type *base_url=nullptr)