OmniClientUrl

Defined in OmniClient.h

struct OmniClientUrl

A URL broken into the component pieces.

A fully composed URL takes the format scheme://user@host:port/path?query#fragment Note that “null” is different from blank. Null means the component is missing, blank means it exists but has no value.

See also https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Generic_syntax

Note

omniverse: urls IGNORE the “user” component!

Public Members

char const *scheme

The part of the URL before the first colon.

char const *user

The part of the URL to indicate the user to sign in as.

char const *host

The part of the URL indicating the host name or IP address to connect to.

char const *port

The part of the URL indicating the port to connect to.

char const *path

The part of the URL indicating the path of the item on the server. This is percent-decoded.

char const *query

The part of the URL containing the query parameter. This is percent-decoded.

char const *fragment

The part of the URL containing the fragment parameter. This is percent-decoded.

bool isRaw

True if this is a “raw” URL such as “C:\file”. Setting this to true prevents omniClientMakeUrl from percent-encoding the path.