Method | Description | |
---|---|---|
__construct ( string $base ) | Constructor | |
get ( string $url ) : array | string | ||
getLastCode ( ) : integer | Return the HTTP status code of the last request | |
getLastLinks ( ) : string[] | Get all Link headers of the last request | |
getLastLocation ( ) : string | null | Return the Location header of the last request | |
getLastNonce ( ) : mixed | Returns the Replay-Nonce header of the last request | |
post ( string $url, array $data ) : array | string | Send a POST request |
public __construct ( string $base ) | ||
$base | string | the ACME API base all relative requests are sent to |
public getLastCode ( ) : integer | ||
return | integer |
public getLastLinks ( ) : string[] | ||
return | string[] |
public getLastLocation ( ) : string | null | ||
return | string | null |
public getLastNonce ( ) : mixed | ||
return | mixed |