Files
__inwestprofil.pagedev.pl/wp-content/plugins/copy-delete-posts/analyst/src/Contracts/HttpClientContract.php
Roman Pyrih 296b13244b first commit
2025-07-11 12:34:24 +02:00

26 lines
404 B
PHP

<?php
namespace Analyst\Contracts;
use Analyst\ApiResponse;
interface HttpClientContract
{
/**
* Make an http request
*
* @param $method
* @param $url
* @param $body
* @param $headers
* @return ApiResponse
*/
public function request($method, $url, $body, $headers);
/**
* Must return `true` if client is supported
*
* @return bool
*/
public static function hasSupport();
}