src/Api/Domain.php
public function connection(string $domain)
    {
        Assert::stringNotEmpty($domain);

        $response = $this->httpGet(sprintf('/v3/domains/%s/connection', $domain));

        return $this->hydrateResponse($response, ConnectionResponse::class);
    }
public function connection(string $domain)
    {
        Assert::stringNotEmpty($domain);

        $response = $this->httpGet(sprintf('/v3/domains/%s/connection', $domain));

        return $this->hydrateResponse($response, ConnectionResponse::class);
    }
public function connection ( string $ domain ) { Assert :: stringNotEmpty ( $ domain ) ; $ response = $ this -> httpGet ( sprintf ( '/v3/domains/%s/connection' , $ domain ) ) ; return $ this -> hydrateResponse ( $ response , ConnectionResponse :: class ) ; }
Returns delivery connection settings for the specified domain.

@param string $domain name of the domain

@return ConnectionResponse|ResponseInterface
Returns delivery connection settings for the specified domain .