Documentation
    Preparing search index...

    Variable PostConst

    Post: {
        (path?: string | string[]): MethodDecorator;
        <T>(stringify?: IResponseBodyStringifier<T>): MethodDecorator;
        <T>(
            path: string | string[],
            stringify?: IResponseBodyStringifier<T>,
        ): MethodDecorator;
    } = ...

    Router decorator function for the POST method.

    Type Declaration

      • (path?: string | string[]): MethodDecorator
      • Parameters

        • Optionalpath: string | string[]

        Returns MethodDecorator

      • <T>(stringify?: IResponseBodyStringifier<T>): MethodDecorator
      • Type Parameters

        • T

        Parameters

        • Optionalstringify: IResponseBodyStringifier<T>

        Returns MethodDecorator

      • <T>(
            path: string | string[],
            stringify?: IResponseBodyStringifier<T>,
        ): MethodDecorator
      • Type Parameters

        • T

        Parameters

        • path: string | string[]
        • Optionalstringify: IResponseBodyStringifier<T>

        Returns MethodDecorator

    Path of the HTTP request

    Method decorator