mirror of
https://github.com/friendica/friendica
synced 2025-04-27 00:30:10 +00:00
Restructure HTTPClient for new paradigm
This commit is contained in:
parent
fa55928ea3
commit
409d909d0f
25 changed files with 210 additions and 198 deletions
|
@ -415,11 +415,11 @@ abstract class DI
|
|||
//
|
||||
|
||||
/**
|
||||
* @return Network\IHTTPClient
|
||||
* @return Network\HTTPClient\Capability\ICanRequestPerHttp
|
||||
*/
|
||||
public static function httpClient()
|
||||
{
|
||||
return self::$dice->create(Network\IHTTPClient::class);
|
||||
return self::$dice->create(Network\HTTPClient\Capability\ICanRequestPerHttp::class);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue