Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

A collection of key/value pairs with case-insensitive keys.

Hierarchy

  • Map<string, string>
    • Headers

Methods

  • Returns a new instance of Headers with the specified header set to the provided value. Does not modify the original Headers instance.

    Parameters

    • headerName: string

      The name of the header to add or overwrite

    • headerValue: string

      The value to which the header should be set

    Returns Headers

  • Returns a new instance of Headers without the specified header. Does not modify the original Headers instance.

    Parameters

    • headerName: string

      The name of the header to remove

    Returns Headers