xmpp-httpx - v0.11.0
    Preparing search index...

    Function resourceForm

    • Classifies a request target, or returns undefined when it is none of the four forms. Origin-form is accepted exactly as before — anything starting with "/" — so nothing that used to decode stops decoding.

      Parameters

      • resource: string

      Returns ResourceForm | undefined