Documentation
    Preparing search index...

    Function stripProtocolFromUri

    No description provided.

    • Strip the protocol component from a URI. e.g. http://foo.bar => foo.bar. NOTE: It is assumed uri is a roughly valid URI, so anything preceding :// will be naively stripped.

      Parameters

      • uri: string

        URI from which the protocol is to be stripped.

      Returns string