ada_url_components

A struct representing the components of a parsed URL. Each field indicates the position or value of a URL component, with ada_url_omitted indicating an absent component.

Members

Variables

hash_start
uint hash_start;

Start position of the hash (fragment) component.

host_end
uint host_end;

End position of the host.

host_start
uint host_start;

Start position of the host.

pathname_start
uint pathname_start;

Start position of the pathname.

port
uint port;

Port number, or ada_url_omitted if not present.

protocol_end
uint protocol_end;

End position of the protocol (e.g., after "http:").

search_start
uint search_start;

Start position of the search (query) component.

username_end
uint username_end;

End position of the username.

Meta