@beholdio/ts-lambda-api - v2.4.8
    Preparing search index...

    Function header

    • Decorator which injects a HTTP request header as a parameter value.

      Value passed to the method will be a string.

      Parameters

      • headerName: string

        The name of the header to inject.

      • OptionalapiParamInfo: ApiParam

      Returns (
          classDefinition: Object | Function,
          methodName: string,
          paramIndex: number,
      ) => void