ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ILIAS\HTTP\Message\MessageFactory Interface Reference

Creates psr-7 messages without binding components to the underlying library. More...

+ Inheritance diagram for ILIAS\HTTP\Message\MessageFactory:
+ Collaboration diagram for ILIAS\HTTP\Message\MessageFactory:

Public Member Functions

 request (string $method, UriInterface|string $uri, array $headers=[], StreamInterface|string|null $body=null)
 
 response (int $status=200, array $headers=[], StreamInterface|string|null $body=null)
 
 uri (string $uri='')
 

Detailed Description

Creates psr-7 messages without binding components to the underlying library.

Author
Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s

Definition at line 34 of file MessageFactory.php.

Member Function Documentation

◆ request()

ILIAS\HTTP\Message\MessageFactory::request ( string  $method,
UriInterface|string  $uri,
array  $headers = [],
StreamInterface|string|null  $body = null 
)
Parameters
array<string,string|string[]>$headers

Implemented in ILIAS\HTTP\Message\MessageFactoryImpl.

◆ response()

ILIAS\HTTP\Message\MessageFactory::response ( int  $status = 200,
array  $headers = [],
StreamInterface|string|null  $body = null 
)
Parameters
array<string,string|string[]>$headers

Implemented in ILIAS\HTTP\Message\MessageFactoryImpl.

◆ uri()

ILIAS\HTTP\Message\MessageFactory::uri ( string  $uri = '')

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