mirror of
https://github.com/friendica/friendica
synced 2025-04-29 18:24:23 +02:00
Expose IHTTPClient::request()
This commit is contained in:
parent
c554b629e7
commit
660a3cd247
2 changed files with 12 additions and 1 deletions
|
@ -85,6 +85,17 @@ interface IHTTPClient
|
|||
*/
|
||||
public function get(string $url, array $opts = []);
|
||||
|
||||
/**
|
||||
* Sends a HTTP request to a given url
|
||||
*
|
||||
* @param string $method A HTTP request ()
|
||||
* @param string $url Url to send to
|
||||
* @param array $opts parameters
|
||||
*
|
||||
* @return IHTTPResult
|
||||
*/
|
||||
public function request(string $method, string $url, array $opts = []);
|
||||
|
||||
/**
|
||||
* Send POST request to an URL
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue