Properties of a Header.

interface IHeader {
    key?: string;
    value?: string;
}

Implemented by

Properties

Properties

key?: string

A header key such as Authorization or Content-Type

value?: string

A value for the given header key like Basic MYAUTHKEY or application/json