Create HttpClientInterface.php

This commit is contained in:
Tony Roy 2021-03-10 18:35:13 -04:00 committed by GitHub
commit d227f82fea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,29 @@
<?php
namespace wickedsoft\NetBox\HttpClient;
interface HttpClientInterface
{
/**
* @return array
*/
public function getOptions();
/**
* @param array $body
* @return mixed
*/
public function post($body = []);
/**
* @param $body
* @param $method
* @return mixed
*/
public function request($body, $method);
/**
* @param array $options
*/
public function setOptions(array $options);
}