Open Journal Systems  3.3.0
Http\Message\Formatter\FullHttpMessageFormatter Class Reference
Inheritance diagram for Http\Message\Formatter\FullHttpMessageFormatter:
Http\Message\Formatter

Public Member Functions

 __construct ($maxBodyLength=1000)
 
 formatRequest (RequestInterface $request)
 
 formatResponse (ResponseInterface $response)
 

Detailed Description

A formatter that prints the complete HTTP message.

Author
Tobias Nyholm tobia.nosp@m.s.ny.nosp@m.holm@.nosp@m.gmai.nosp@m.l.com

Definition at line 15 of file FullHttpMessageFormatter.php.

Constructor & Destructor Documentation

◆ __construct()

Http\Message\Formatter\FullHttpMessageFormatter::__construct (   $maxBodyLength = 1000)
Parameters
int | null$maxBodyLength

Definition at line 30 of file FullHttpMessageFormatter.php.

Member Function Documentation

◆ formatRequest()

Http\Message\Formatter\FullHttpMessageFormatter::formatRequest ( RequestInterface  $request)

◆ formatResponse()

Http\Message\Formatter\FullHttpMessageFormatter::formatResponse ( ResponseInterface  $response)

{Formats a response.

Parameters
ResponseInterface$response
Returns
string
}

Implements Http\Message\Formatter.

Definition at line 57 of file FullHttpMessageFormatter.php.


The documentation for this class was generated from the following file: