Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Callable

  • Handler(request: HandlerRequest, response: Partial<Pick<OutgoingMessage<IncomingMessage>, "getHeader" | "setHeader">>, next?: (() => void)): void
  • Express middleware for seamless integration with the Relevance Module.

    Parameters

    • request: HandlerRequest

      Incoming HTTP request.

    • response: Partial<Pick<OutgoingMessage<IncomingMessage>, "getHeader" | "setHeader">>

      Outgoing HTTP response.

    • Optional next: (() => void)
        • (): void
        • Returns void

    Returns void