ts-lambda-api - v2.5.2
    Preparing search index...

    Function setHeader

    • Sets a single header value. If the header already exists in the to-be-sent headers, its value will be replaced. Use an array of strings to send multiple headers with the same name.

      Parameters

      • name: string

        Header name

      • value: string | number | readonly string[]

        Header value

      Returns this

      v0.4.0