|
Ada 4.1.1
Fast spec-compliant URL parser
|
#include "ada/implementation-inl.h"#include <array>#include <atomic>#include <cstdint>#include <cstring>#include <limits>#include <optional>#include <string>#include <string_view>#include "ada/checkers-inl.h"#include "ada/checkers.h"#include "ada/common_defs.h"#include "ada/parser.h"#include "ada/scheme.h"#include "ada/unicode-inl.h"#include "ada/url.h"#include "ada/url_aggregator.h"Go to the source code of this file.
Namespaces | |
| namespace | ada |
| namespace | ada::anonymous_namespace{implementation.cpp} |
Functions | |
| void | ada::set_max_input_length (uint32_t length) |
| uint32_t | ada::get_max_input_length () |
| ada_really_inline uint64_t | ada::anonymous_namespace{implementation.cpp}::swar_in_range (uint64_t w, uint8_t lo, uint8_t hi) noexcept |
| ada_really_inline bool | ada::anonymous_namespace{implementation.cpp}::eight_clean_http_host_bytes (const uint8_t *input) noexcept |
| std::optional< bool > | ada::anonymous_namespace{implementation.cpp}::try_can_parse_clean_http (std::string_view input) noexcept |
| std::optional< bool > | ada::anonymous_namespace{implementation.cpp}::try_can_parse_absolute_fast (std::string_view input) noexcept |
| template<class result_type> | |
| ada_warn_unused tl::expected< result_type, errors > | ada::parse (std::string_view input, const result_type *base_url) |
| template ada::result< url > | ada::parse< url > (std::string_view input, const url *base_url) |
| template ada::result< url_aggregator > | ada::parse< url_aggregator > (std::string_view input, const url_aggregator *base_url) |
| std::string | ada::href_from_file (std::string_view path) |
| bool | ada::can_parse (std::string_view input, const std::string_view *base_input=nullptr) |
| ada_warn_unused std::string_view | ada::to_string (encoding_type type) |
Variables | |
| static std::atomic< uint32_t > | ada::max_input_length_ |
| constexpr std::array< uint8_t, 256 > | ada::anonymous_namespace{implementation.cpp}::clean_http_host_byte |
| constexpr bool | ada::anonymous_namespace{implementation.cpp}::k_can_parse_little_endian = false |