Robbie\Psr7\HttpResponseAdapter
Synopsis
class HttpResponseAdapter
extends AbstractHttpAdapter
{
- // Inherited members from AbstractHttpAdapter
- protected $protocolVersion;
- // Inherited methods from AbstractHttpAdapter
- public abstract MessageInterface toPsr7()
- public abstract HTTPRequest|HTTPResponse fromPsr7()
- public void importHeaders()
- public string getProtocolVersion()
- public $this setProtocolVersion()
Hierarchy
Extends
Members
protected
- $protocolVersion — string
Methods
public
- fromPsr7() — {@inheritDoc}
- toPsr7() — {@inheritDoc}
Inherited from Robbie\Psr7\AbstractHttpAdapter
public
- fromPsr7() — Perform a conversion from a PSR-7 interface to the corresponding HTTPRequest or HTTPResponse class
- getProtocolVersion() — Get the protocol version - either from a previously set value, or from the server
- importHeaders() — PSR-7 interfaces support multiple headers per type, whereas SilverStripe classes do not.
- setProtocolVersion() — Set the protocol version
- toPsr7() — Perform a conversion from a HTTPResponse or HTTPRequest into the corresponding PSR-7 interface