fixed httpclientinterface class
This commit is contained in:
parent
0184bb81dc
commit
e79dbad95c
1 changed files with 4 additions and 11 deletions
|
|
@ -13,32 +13,25 @@ interface HttpClientInterface
|
|||
* @param array $body
|
||||
* @return mixed
|
||||
*/
|
||||
public function get($path="", $body = []);
|
||||
public function get($path="", $query=[]);
|
||||
|
||||
/**
|
||||
* @param array $body
|
||||
* @return mixed
|
||||
*/
|
||||
public function post($path="", $body = []);
|
||||
public function post($path="", $body=[]);
|
||||
|
||||
/**
|
||||
* @param array $body
|
||||
* @return mixed
|
||||
*/
|
||||
public function put($path="", $body = []);
|
||||
public function put($path="", $body=[]);
|
||||
|
||||
/**
|
||||
* @param array $body
|
||||
* @return mixed
|
||||
*/
|
||||
public function delete($path="", $body = []);
|
||||
|
||||
/**
|
||||
* @param $body
|
||||
* @param $method
|
||||
* @return mixed
|
||||
*/
|
||||
public function request($path="", $body, $method);
|
||||
public function delete($path="", $body=[]);
|
||||
|
||||
/**
|
||||
* @param array $options
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue