Low level ACME client.
author | Niklas Keller |
---|---|
package | Kelunik\Acme |
__construct(string $dictionaryUri, \Kelunik\Acme\KeyPair $keyPair, \Amp\Artax\Client|null $http = null
)
api |
---|
string
URI to the ACME server directory
\Kelunik\Acme\KeyPair
account key pair
\Amp\Artax\Client
null
custom HTTP client, default client will be used if no value is provided
get(string $resource) : \Amp\Promise
api |
---|
string
resource to fetch
\Kelunik\Acme\AcmeException |
If the request failed. |
---|
\Amp\Promise
resolves to the HTTP responsepost(string $resource, array $payload) : \Amp\Promise
api |
---|
string
resource to fetch
array
\Kelunik\Acme\AcmeException |
If the request failed. |
---|
\Amp\Promise
resolves to the HTTP response