File Editor
Directories:
.. (Back)
Files:
AnalystContract.php
CacheContract.php
HttpClientContract.php
RequestContract.php
RequestorContract.php
TrackerContract.php
Create New File
Create
Edit File: HttpClientContract.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(); }
Save Changes
Rename File
Rename