Ada 2.9.2
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
ada::scheme::details Namespace Reference

Includes the definitions for scheme specific entities. More...

Variables

constexpr std::string_view is_special_list []
 
constexpr uint16_t special_ports [] = {80, 0, 443, 80, 21, 443, 0, 0}
 

Detailed Description

Includes the definitions for scheme specific entities.

Variable Documentation

◆ is_special_list

std::string_view ada::scheme::details::is_special_list[]
constexpr
Initial value:
= {"http", " ", "https", "ws",
"ftp", "wss", "file", " "}

Definition at line 19 of file scheme-inl.h.

Referenced by ada::url::get_protocol(), ada::scheme::get_scheme_type(), and ada::scheme::get_special_port().

◆ special_ports

uint16_t ada::scheme::details::special_ports[] = {80, 0, 443, 80, 21, 443, 0, 0}
constexpr

Definition at line 22 of file scheme-inl.h.

Referenced by ada::scheme::get_special_port(), and ada::scheme::get_special_port().