Skip to main content

HttpHeader

Represents a single HTTP header consisting of a name and value.

This type can be used to define HTTP headers that should be included
in responses or requests, such as security headers (e.g. Content-Security-Policy,
Permissions-Policy, Strict-Transport-Security) or custom application headers.

Header names are case-insensitive according to the HTTP specification.

type HttpHeader {
name: String!
value: String!
}

Fields

name ● String!

Header name

value ● String!

Header value

Example

{}