Module opcua_types::url
source · Expand description
Provides functions for parsing Urls from strings.
Constants
Functions
Takes an endpoint url and strips off the path and args to leave just the protocol, host & port.
Test if the two urls match exactly. Strings are fed into a url parser and compared to resolve
ambiguities like paths, case sensitive portions, encoding etc.
Test if the two urls match except for the hostname. Can be used by a server whose endpoint doesn’t
exactly match the incoming connection, e.g. 127.0.0.1 vs localhost.