HttpService

Methods Summary
public
# __construct( $endpoint )
public
# setHeaders( array $headers )
public
public
# body( )
public
# data( )
public
# post( string $route , array $body = array ( ) )
public
# get( string $route )
public
# put( $route , array $body = array ( ) )
public
# patch( $route , array $body = array ( ) )
public
# delete( $route , array $body = array ( ) )
Properties Summary
protected GuzzleHttp\Client $httpClient
# NULL
protected $endpoint
# NULL
protected GuzzleHttp\Psr7\Response $response
# NULL
protected $headers
# NULL
protected $body
# NULL
protected $data
# NULL