@flowscripter/io-gateway-http
    Preparing search index...

    Class GatewayGrant

    Serves one root location (a container or a single entry) over HTTP, restricted to a scope. Created by HttpGateway; revoking it makes every later request a 404.

    Index
    • get url(): string

      The URL of the root: the container with a trailing slash, or the single entry.

      Returns string

    • Parameters

      • request: Request
      • segments: readonly string[]

      Returns Promise<Response>

    • Stops serving requests. Writes already in flight still run to completion.

      Returns Promise<void>

    • The URL of a path below a container root.

      Parameters

      • path: string

      Returns string