Method | Description | |
---|---|---|
__construct ( Amp\Artax\HttpClient $client = null ) | Http01 constructor. | |
verifyChallenge ( string $domain, string $token, string $payload ) : Amp\Promise | Verifies a HTTP-01 challenge. |
Method | Description | |
---|---|---|
doVerifyChallenge ( string $domain, string $token, string $payload ) : Generator | Verifies a HTTP-01 challenge. |
public __construct ( Amp\Artax\HttpClient $client = null ) | ||
$client | Amp\Artax\HttpClient | HTTP client to use, otherwise a default client will be used |