HEX
Server: Apache
System: Linux webm013.cluster123.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: lesanew (165608)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/lesanew/www/wp-content/plugins/redirect-redirection/analyst/src/Http/DummyHttpClient.php
<?php

namespace Analyst\Http;

use Analyst\ApiResponse;
use Analyst\Contracts\HttpClientContract;

class DummyHttpClient implements HttpClientContract
{
	/**
	 * Make an http request
	 *
	 * @param $method
	 * @param $url
	 * @param $body
	 * @param $headers
	 * @return ApiResponse
	 */
	public function request($method, $url, $body, $headers)
	{
		return new ApiResponse('Dummy response', 200, []);
	}

	/**
	 * Must return `true` if client is supported
	 *
	 * @return bool
	 */
	public static function hasSupport()
	{
		return true;
	}
}