ada_can_parse_with_base

Checks if a URL string can be parsed with a base URL. Both input and base must be null-terminated C strings (ASCII or UTF-8).

extern (C) @nogc nothrow @safe @trusted
bool
ada_can_parse_with_base
(
scope const(char)* input
,,
scope const(char)* base
,)

Parameters

input const(char)*

The URL string to check.

input_length size_t

The length of the input string.

base const(char)*

The base URL string.

base_length size_t

The length of the base URL string.

Return Value

Type: bool

true if the URL can be parsed, false otherwise.

Meta