# Functions

GetHostname returns the hostname of the URL Deprecated: use url.Hostname().
GetPort returns the port number of the URL Deprecated: use url.Port().
Parse parses and validates a given serverURL to an url.URL, and returns an error if validation failed.