Documentation

ParseHeadersTrait

Table of Contents

$parsedCode  : mixed
Catch a parsed http return code
$parsedHttpVersion  : mixed
parseHeaders()  : mixed
Parse a string or array of strings into a set of headers

Properties

$parsedCode

Catch a parsed http return code

private mixed $parsedCode = null

Some clients like fopen rely on this.

Methods

parseHeaders()

Parse a string or array of strings into a set of headers

private parseHeaders(mixed $headers) : mixed

We might move this to a trait

Parameters
$headers : mixed
Return values
mixed

Search results