![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/ |
<?php namespace OAuth\Common\Http\Client; use OAuth\Common\Http\Uri\UriInterface; use OAuth\Common\Http\Exception\TokenResponseException; /** * Any HTTP clients to be used with the library should implement this interface. */ interface ClientInterface { /** * Any implementing HTTP providers should send a request to the provided endpoint with the parameters. * They should return, in string form, the response body and throw an exception on error. * * @param UriInterface $endpoint * @param mixed $requestBody * @param array $extraHeaders * @param string $method * * @return string * * @throws TokenResponseException */ public function retrieveResponse( UriInterface $endpoint, $requestBody, array $extraHeaders = array(), $method = 'POST' ); }