Update HttpClientInterface.php
This commit is contained in:
parent
69b58b646e
commit
f88b9b52c6
1 changed files with 5 additions and 5 deletions
|
|
@ -13,32 +13,32 @@ interface HttpClientInterface
|
||||||
* @param array $body
|
* @param array $body
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function get($path, $body = []);
|
public function get($path="", $body = []);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array $body
|
* @param array $body
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function post($path, $body = []);
|
public function post($path="", $body = []);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array $body
|
* @param array $body
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function put($path, $body = []);
|
public function put($path="", $body = []);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array $body
|
* @param array $body
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function delete($path, $body = []);
|
public function delete($path="", $body = []);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $body
|
* @param $body
|
||||||
* @param $method
|
* @param $method
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function request($path, $body, $method);
|
public function request($path="", $body, $method);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array $options
|
* @param array $options
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue