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

Public Member Functions

 __construct ($statusCode, $headers)
 
 getHeader (string $headerName)
 
 getStatusCode ()
 

Detailed Description

Implementation of the HTTP response using the CURL library.

Member Function Documentation

◆ getHeader()

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

Get the value of a header from the response

Parameters
string$headerName
Returns
string|null

Implements coarnotify\http\HttpResponse.

◆ getStatusCode()

coarnotify\http\CurlHttpResponse::getStatusCode ( )

Get the status code of the response

Returns
int

Implements coarnotify\http\HttpResponse.


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