Client
abstract class Client
Properties
bool | $sslVerifyPeer | ||
int | $timeout |
Methods
string|bool
get(string $url, array $options = [])
Execute a GET request and return the response's body
string|bool
post(string $url, array $options = [], string $body = '')
Execute a POST request and return the response's body
Details
at line 29
abstract string|bool
get(string $url, array $options = [])
Execute a GET request and return the response's body
at line 39
abstract string|bool
post(string $url, array $options = [], string $body = '')
Execute a POST request and return the response's body