ada_has_credentials

Checks if a parsed URL has credentials (username or password). Returns false if the URL is invalid.

extern (C) @nogc nothrow @safe @trusted
bool
ada_has_credentials
()

Parameters

result ada_url

The ada_url handle.

Return Value

Type: bool

true if credentials are present, false otherwise.

Meta