COAR Notify
 
Loading...
Searching...
No Matches
coarnotify\http\HttpResponse Interface Reference
Inheritance diagram for coarnotify\http\HttpResponse:
coarnotify\http\CurlHttpResponse

Public Member Functions

 getHeader (string $headerName)
 
 getStatusCode ()
 

Detailed Description

Interface for HTTP response object

This defines the methods which need to be implemented in order for the client to fully operate

Member Function Documentation

◆ getHeader()

coarnotify\http\HttpResponse::getHeader ( string $headerName)

Get the value of a header from the response.

Parameters
string$headerNameThe name of the header
Returns
string The header value

Implemented in coarnotify\http\CurlHttpResponse.

◆ getStatusCode()

coarnotify\http\HttpResponse::getStatusCode ( )

Get the status code of the response.

Returns
int The status code

Implemented in coarnotify\http\CurlHttpResponse.


The documentation for this interface was generated from the following file: