| Server IP : 186.64.123.29 / Your IP : 216.73.217.94 Web Server : LiteSpeed System : Linux house.hostinglat.cl 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : tuemp9827 ( 1016) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/tuempresavirtual.cl/public_html/wp-content/plugins/tidio-live-chat/src/Http/ |
Upload File : |
<?php
namespace TidioLiveChat\Http;
if (!defined('WPINC')) {
die('File loaded directly. Exiting.');
}
use TidioLiveChat\Http\Exception\ErrorResponseException;
use TidioLiveChat\Http\Exception\UnauthorizedResponseException;
interface HttpClient
{
/**
* @param string $path
* @param array<string, mixed> $data
* @return array<string, mixed>
* @throws UnauthorizedResponseException
* @throws ErrorResponseException
*/
public function sendPostRequest($path, $data = []);
/**
* @param string $path
* @return array<string, mixed>
* @throws UnauthorizedResponseException
* @throws ErrorResponseException
*/
public function sendGetRequest($path);
}