Zend\Http\Client\Adapter\AdapterInterface
An interface description for Zend\Http\Client\Adapter classes.
These classes are used as connectors for Zend\Http\Client, performing the
tasks of connecting, writing, reading and closing connection to the server.
Synopsis
interface AdapterInterface
{
- // methods
- public void setOptions()
- public void connect()
- public string write()
- public string read()
- public void close()
Methods
public
- close() — Close the connection to the server
- connect() — Connect to the remote server
- read() — Read response from server
- setOptions() — Set the configuration array for the adapter
- write() — Send request to the remote server