Flow PHP

HttpFactory

Read onlyYes
FinalYes

Methods

__construct()  : mixed
delete()  : RequestInterface
get()  : RequestInterface
post()  : RequestInterface
put()  : RequestInterface
stream()  : StreamInterface

Methods

__construct()

public __construct(RequestFactoryInterface $requestFactory, StreamFactoryInterface $streamFactory) : mixed
Parameters
$requestFactory : RequestFactoryInterface
$streamFactory : StreamFactoryInterface

delete()

public delete(string $url) : RequestInterface
Parameters
$url : string
Return values
RequestInterface

get()

public get(string $url) : RequestInterface
Parameters
$url : string
Return values
RequestInterface

post()

public post(string $url) : RequestInterface
Parameters
$url : string
Return values
RequestInterface

put()

public put(string $url) : RequestInterface
Parameters
$url : string
Return values
RequestInterface

stream()

public stream(resource|string $content) : StreamInterface
Parameters
$content : resource|string
Return values
StreamInterface

        
On this page

Search results