class RustUrl

Defined at line 19 of file ../../src/lib/rust_url/rust_url.h

Public Methods

zx_status_t Parse (const std::string & input)

Parse a URL. Must be called after construction and before any other methods are called.

If this method does not return ZX_OK, no subsequent methods will succeed.

Defined at line 7 of file ../../src/lib/rust_url/rust_url.cc

std::string Domain ()

Return the domain of this URL, if any. Should be called only after successful calls to Parse().

Returns an empty string if no domain is present.

Defined at line 16 of file ../../src/lib/rust_url/rust_url.cc

void ~RustUrl ()

Defined at line 21 of file ../../src/lib/rust_url/rust_url.h