File "ClientInterface.php"

Full path: /home/cakedeco/retaildirectonline.co.uk/system/storage/vendor/cardinity/cardinity-sdk-php/src/Http/ClientInterface.php
File size: 470 B (470 B bytes)
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

<?php
namespace Cardinity\Http;

use Cardinity\Method\MethodInterface;

interface ClientInterface
{
    /**
     * Send HTTP request
     * @param MethodInterface $method
     * @param string $requestMethod POST|GET|PATCH
     * @param string $url http URL
     * @param array $options query options. Query params goes under 'query' key.
     * @return array
     */
    public function sendRequest(MethodInterface $method, $requestMethod, $url, array $options = []);
}