Class InboundSyns<INTERNALIN, INTERNALRETURN, INTERNALRES, INTERNALOUT>Abstract

Represents an inbound synchronization route with specific types for input, return, response, and output.

Type Parameters

  • INTERNALIN

    The type of the input request.

  • INTERNALRETURN

    The type of the data returned from the extract function.

  • INTERNALRES

    The type of the data returned from the process function.

  • INTERNALOUT

    The type of the output response.

Implements

Constructors

Properties

DESCRIPTION?: string

A description of the route.

ID: string

The unique identifier for the route.

METHOD: HttpMethod

The HTTP method used by the route (e.g., GET, POST).

ROUTE_URL: string

The URL path of the route.

TYPE: ROUTETYPE

The type of the route, defined by the ROUTETYPE enum.

Methods

  • Parameters

    • app: FastifyInstance<
          RawServerDefault,
          IncomingMessage,
          ServerResponse<IncomingMessage>,
          FastifyBaseLogger,
          FastifyTypeProviderDefault,
      >

    Returns Promise<void>