TransportInterface
interface TransportInterface (View source)
The TransportInterface class.
Methods
ResponseInterface
request(RequestInterface $request)
Send a request to the server and return a Response object with the response.
ResponseInterface
download(RequestInterface $request, string|StreamInterface $dest)
Use stream to download file.
static boolean
isSupported()
Method to check if HTTP transport layer available for using
Details
at line line 29
__construct(array|ArrayAccess $options = array())
Constructor.
at line line 40
ResponseInterface
request(RequestInterface $request)
Send a request to the server and return a Response object with the response.
at line line 51
ResponseInterface
download(RequestInterface $request, string|StreamInterface $dest)
Use stream to download file.
at line line 60
static boolean
isSupported()
Method to check if HTTP transport layer available for using