IResponse

interface OCP\Http\Client\IResponse
Interface IResponse
Implemented by:OC\Http\Client\Response
Source:lib/public/Http/Client/IResponse.php#36

Methods

public OCP\Http\Client\IResponse::getBody()
Source:lib/public/Http/Client/IResponse.php#41
Returns:string | resource
Since:8.1.0
public OCP\Http\Client\IResponse::getStatusCode()
Source:lib/public/Http/Client/IResponse.php#47
Returns:int
Since:8.1.0
public OCP\Http\Client\IResponse::getHeader($key)
Source:

lib/public/Http/Client/IResponse.php#54

Parameters:
  • $key (string)
Returns:

string

Since:

8.1.0

public OCP\Http\Client\IResponse::getHeaders()
Source:lib/public/Http/Client/IResponse.php#60
Returns:array
Since:8.1.0