Combined: ((this: void, next: ((this: void, request: Request) => OnEvent<[Response]>), request: Request) => OnEvent<[Response]>)

Type declaration

    • (this: void, next: ((this: void, request: Request) => OnEvent<[Response]>), request: Request): OnEvent<[Response]>
    • Combined HTTP fetch agent signature.

      This is what is available under HttpFetchAgent key.

      Returns

      An OnEvent sender of response object(s) receivers. It is returned as a result of HttpFetch call.

      Parameters

      • this: void
      • next: ((this: void, request: Request) => OnEvent<[Response]>)

        Either calls the next agent in chain, or actually fetches the data if this agent is the last one. Accepts Request parameter.

          • (this: void, request: Request): OnEvent<[Response]>
          • Parameters

            • this: void
            • request: Request

            Returns OnEvent<[Response]>

      • request: Request

        HTTP request.

      Returns OnEvent<[Response]>

Generated using TypeDoc