Mailgun\Api\Domain::connection PHP Метод

connection() публичный Метод

Returns delivery connection settings for the specified domain.
public connection ( string $domain ) : ConnectionResponse | array | Psr\Http\Message\ResponseInterface
$domain string Name of the domain.
Результат Mailgun\Resource\Api\Domain\ConnectionResponse | array | Psr\Http\Message\ResponseInterface
    public function connection($domain)
    {
        Assert::stringNotEmpty($domain);
        $response = $this->httpGet(sprintf('/v3/domains/%s/connection', $domain));
        return $this->deserializer->deserialize($response, ConnectionResponse::class);
    }