URL

SafeType

Framer

  • isTLSScheme returns true if the scheme is https or wss

  • getParts pulls host and port from the url.