6#ifndef ADA_IMPLEMENTATION_H
7#define ADA_IMPLEMENTATION_H
22template <
class result_type = ada::url_aggregator>
23using result = tl::expected<result_type, ada::errors>;
34template <
class result_type = ada::url_aggregator>
36 std::string_view input,
const result_type* base_url =
nullptr);
50 const std::string_view* base_input =
nullptr);
Common definitions for cross-platform compiler support.
Definition for supported encoding types.
bool can_parse(std::string_view input, const std::string_view *base_input=nullptr)
template ada::result< url > parse< url >(std::string_view input, const url *base_url)
std::string href_from_file(std::string_view path)
template ada::result< url_aggregator > parse< url_aggregator >(std::string_view input, const url_aggregator *base_url)
tl::expected< result_type, ada::errors > result
ada_warn_unused ada::result< result_type > parse(std::string_view input, const result_type *base_url=nullptr)
Definitions for the parser.
Definitions for the states of the URL state machine.
Generic URL struct reliant on std::string instantiation.
Declaration for the basic URL definitions.