Oihana PHP Enums

RoutingHeaderTrait

Message routing & transport HTTP header names (RFC 9110 / RFC 9112).

Mixed into HttpHeader.

Tags
author

Marc Alcaraz (ekameleon)

since
1.1.0

Table of Contents

Constants

CONNECTION  : string = 'Connection'
`Connection` — Control options for the current connection (RFC 9110 §7.6.1).
DATE  : string = 'Date'
`Date` — Date and time the message was originated (RFC 9110 §6.6.1).
EXPECT  : string = 'Expect'
`Expect` — Expectations the server must meet, e.g. `100-continue` (RFC 9110 §10.1.1).
FORWARDED  : string = 'Forwarded'
`Forwarded` — Proxy disclosure of the originating client and chain (RFC 7239).
FROM  : string = 'From'
`From` — E-mail address of the human controlling the user agent (RFC 9110 §10.1.2).
HOST  : string = 'Host'
`Host` — Target host and port of the request (RFC 9110 §7.2).
KEEP_ALIVE  : string = 'Keep-Alive'
`Keep-Alive` — Parameters for a persistent connection (RFC 9112).
LINK  : string = 'Link'
`Link` — Typed relationships to other resources (RFC 8288).
LOCATION  : string = 'Location'
`Location` — URL to redirect to, or of a newly created resource (RFC 9110 §10.2.2).
MAX_FORWARDS  : string = 'Max-Forwards'
`Max-Forwards` — Hop limit for TRACE and OPTIONS requests (RFC 9110 §7.6.2).
SERVER  : string = 'Server'
`Server` — Software used by the origin server (RFC 9110 §10.2.4).
TE  : string = 'TE'
`TE` — Transfer codings the client is willing to accept (RFC 9110 §10.1.4).
TRAILER  : string = 'Trailer'
`Trailer` — Names of fields present in the trailer section (RFC 9110 §6.6.2).
TRANSFER_ENCODING  : string = 'Transfer-Encoding'
`Transfer-Encoding` — Transfer codings applied to the message body (RFC 9112 §6.1).
UPGRADE  : string = 'Upgrade'
`Upgrade` — Request to switch to a different protocol (RFC 9110 §7.8).
VIA  : string = 'Via'
`Via` — Intermediaries (proxies, gateways) traversed by the message (RFC 9110 §7.6.3).

Constants

CONNECTION

`Connection` — Control options for the current connection (RFC 9110 §7.6.1).

public string CONNECTION = 'Connection'

DATE

`Date` — Date and time the message was originated (RFC 9110 §6.6.1).

public string DATE = 'Date'

EXPECT

`Expect` — Expectations the server must meet, e.g. `100-continue` (RFC 9110 §10.1.1).

public string EXPECT = 'Expect'

FORWARDED

`Forwarded` — Proxy disclosure of the originating client and chain (RFC 7239).

public string FORWARDED = 'Forwarded'

FROM

`From` — E-mail address of the human controlling the user agent (RFC 9110 §10.1.2).

public string FROM = 'From'

HOST

`Host` — Target host and port of the request (RFC 9110 §7.2).

public string HOST = 'Host'

KEEP_ALIVE

`Keep-Alive` — Parameters for a persistent connection (RFC 9112).

public string KEEP_ALIVE = 'Keep-Alive'

`Link` — Typed relationships to other resources (RFC 8288).

public string LINK = 'Link'

LOCATION

`Location` — URL to redirect to, or of a newly created resource (RFC 9110 §10.2.2).

public string LOCATION = 'Location'

MAX_FORWARDS

`Max-Forwards` — Hop limit for TRACE and OPTIONS requests (RFC 9110 §7.6.2).

public string MAX_FORWARDS = 'Max-Forwards'

SERVER

`Server` — Software used by the origin server (RFC 9110 §10.2.4).

public string SERVER = 'Server'

TE

`TE` — Transfer codings the client is willing to accept (RFC 9110 §10.1.4).

public string TE = 'TE'

TRAILER

`Trailer` — Names of fields present in the trailer section (RFC 9110 §6.6.2).

public string TRAILER = 'Trailer'

TRANSFER_ENCODING

`Transfer-Encoding` — Transfer codings applied to the message body (RFC 9112 §6.1).

public string TRANSFER_ENCODING = 'Transfer-Encoding'

UPGRADE

`Upgrade` — Request to switch to a different protocol (RFC 9110 §7.8).

public string UPGRADE = 'Upgrade'

VIA

`Via` — Intermediaries (proxies, gateways) traversed by the message (RFC 9110 §7.6.3).

public string VIA = 'Via'
On this page

Search results