Skip to main content

Module url_parser

Module url_parser 

Source
Expand description

WHATWG URL Standard のパーサ(基本パーサの状態機械・ホスト解析・シリアライズ・セッター)。 new URL() / URL.canParse() / URL のセッターの実体。DOM にもカーネルにも依存しない純粋なロジック。 IDNA は UTS46 の完全な対応表を持たず、小文字化・全角 ASCII・句点・無視される文字・Punycode だけを扱う。

Structs§

Url

Enums§

St

Functions§

adapt 🔒
apply_setter
name は “protocol” “username” “password” “host” “hostname” “port” “pathname” “search” “hash”。
basic_parse
基本 URL パーサ。url_in と ov(state override)を渡すとセッター用の動き。
c0 🔒
default_port 🔒
digit_char 🔒
domain_to_ascii
enc_char 🔒
encode_userinfo
encode_with
ends_in_number 🔒
forbidden_domain 🔒
forbidden_host 🔒
has_creds_or_port 🔒
hexval 🔒
host_parse
ipv4_number 🔒
ipv4_parse 🔒
ipv6_parse 🔒
ipv6_serialize 🔒
is_double_dot 🔒
is_normalized_wdl 🔒
is_single_dot 🔒
is_special
is_wdl 🔒
origin
parse
path_string
percent_decode_bytes 🔒
punycode_decode 🔒
punycode_encode 🔒
push_hex 🔒
serialize
set_fragment 🔒
set_path 🔒
set_query 🔒
set_special_query 🔒
set_userinfo 🔒
shorten 🔒
starts_with_wdl 🔒
strip_trailing_spaces_opaque 🔒