@adviser/cement - v0.0.0
    Preparing search index...

    Class HeadersImpl

    Implements

    • Omit<
          Headers,
          "values"
          | "keys"
          | "entries"
          | typeof Symbol.iterator
          | "forEach",
      >
    Index

    Constructors

    Properties

    impl: Headers = ...

    Methods

    • Parameters

      • callbackfn: (value: string, key: string, parent: this) => void

      Returns void

    • The delete() method of the Headers interface deletes a header from the current Headers object.

      MDN Reference

      Parameters

      • name: string

      Returns void

    • The get() method of the Headers interface returns a byte string of all the values of a header within a Headers object with a given name.

      MDN Reference

      Parameters

      • name: string

      Returns string | null

    • The getSetCookie() method of the Headers interface returns an array containing the values of all Set-Cookie headers associated with a response.

      MDN Reference

      Returns string[]

    • The has() method of the Headers interface returns a boolean stating whether a Headers object contains a certain header.

      MDN Reference

      Parameters

      • name: string

      Returns boolean

    • The set() method of the Headers interface sets a new value for an existing header inside a Headers object, or adds the header if it does not already exist.

      MDN Reference

      Parameters

      • name: string
      • value: string

      Returns void

    • Returns Iterable<[string, string]>

    • Returns Iterable<[string, string]>

    • The append() method of the Headers interface appends a new value onto an existing header inside a Headers object, or adds the header if it does not already exist.

      MDN Reference

      Parameters

      • key: string
      • Optionalvalue: string | string[]

      Returns HeadersImpl