ada_set_pathname

Sets the pathname component of a parsed URL. Has no effect if the URL is invalid.

extern (C) @nogc nothrow @safe @trusted
bool
ada_set_pathname
(,
scope const(char)* input
,
size_t length
)

Parameters

result ada_url

The ada_url handle.

input const(char)*

The new pathname string (null-terminated C string).

length size_t

The length of the input string.

Return Value

Type: bool

true if successful, false otherwise.

Meta