Fully Qualified Name: | Laminas\Http\Header\Connection |
Implements: | HeaderInterface |
Connection Header
Name | Description | Defined By |
---|---|---|
fromString() | Connection | |
getFieldName() | Connection header name | Connection |
getFieldValue() | Connection header value | Connection |
isPersistent() | Get whether this connection is persistent | Connection |
setPersistent() | Set Connection header to define persistent connection | Connection |
setValue() | Set arbitrary header value RFC allows any token as value, 'close' and 'keep-alive' are commonly used | Connection |
toString() | Return header line | Connection |
Parameter Name | Type | Description |
---|---|---|
$headerLine | string |
Returns: static
Connection header name
Returns: string
Connection header value
Returns: string
Get whether this connection is persistent
Returns: bool
Set Connection header to define persistent connection
Parameter Name | Type | Description |
---|---|---|
$flag | bool |
Returns: $this
Set arbitrary header value RFC allows any token as value, 'close' and 'keep-alive' are commonly used
Parameter Name | Type | Description |
---|---|---|
$value | string |
Returns: $this
Return header line
Returns: string