AdaUrl.setProtocol

Sets the protocol component of the URL.

struct AdaUrl
@nogc nothrow
bool
setProtocol
(
string input
)

Parameters

input string

The new protocol string to set (e.g., "http:").

Return Value

Type: bool

true if successful, false otherwise.

Meta