Create HttpClientInterface.php
This commit is contained in:
parent
f01edb01ed
commit
d227f82fea
1 changed files with 29 additions and 0 deletions
29
src/HttpClient/HttpClientInterface.php
Normal file
29
src/HttpClient/HttpClientInterface.php
Normal 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);
|
||||
}
|
||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue