mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Expose IHTTPClient::request()
This commit is contained in:
parent
c554b629e7
commit
660a3cd247
2 changed files with 12 additions and 1 deletions
|
@ -59,7 +59,7 @@ class HTTPClient implements IHTTPClient
|
|||
/**
|
||||
* @throws HTTPException\InternalServerErrorException
|
||||
*/
|
||||
protected function request(string $method, string $url, array $opts = []): IHTTPResult
|
||||
public function request(string $method, string $url, array $opts = []): IHTTPResult
|
||||
{
|
||||
$this->profiler->startRecording('network');
|
||||
$this->logger->debug('Request start.', ['url' => $url, 'method' => $method]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue