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.

    • Optional apiParamInfo: ApiParam

    Returns ((classDefinition, methodName, paramIndex) => void)

      • (classDefinition, methodName, paramIndex): void
      • Parameters

        • classDefinition: Object | Function
        • methodName: string
        • paramIndex: number

        Returns void

Generated using TypeDoc