Ada 2.9.2
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
scheme.h File Reference

Declarations for the URL scheme. More...

#include "ada/common_defs.h"
#include <array>
#include <string>

Go to the source code of this file.

Namespaces

namespace  ada::scheme
 Includes the scheme declarations.
 
namespace  ada
 

Enumerations

enum  ada::scheme::type : uint8_t {
  ada::scheme::HTTP = 0 , ada::scheme::NOT_SPECIAL = 1 , ada::scheme::HTTPS = 2 , ada::scheme::WS = 3 ,
  ada::scheme::FTP = 4 , ada::scheme::WSS = 5 , ada::scheme::FILE = 6
}
 

Functions

constexpr uint16_t ada::scheme::get_special_port (std::string_view scheme) noexcept
 
constexpr uint16_t ada::scheme::get_special_port (ada::scheme::type type) noexcept
 
constexpr ada::scheme::type ada::scheme::get_scheme_type (std::string_view scheme) noexcept
 

Detailed Description

Declarations for the URL scheme.

Definition in file scheme.h.