Tolerance\Metrics\Collector\RabbitMq\RabbitMqHttpClient::__construct PHP Method

__construct() public method

public __construct ( GuzzleHttp\ClientInterface $httpClient, string $hostname, integer $port, string $user, string $password )
$httpClient GuzzleHttp\ClientInterface
$hostname string
$port integer
$user string
$password string
    public function __construct(ClientInterface $httpClient, $hostname, $port, $user, $password)
    {
        $this->httpClient = $httpClient;
        $this->hostname = $hostname;
        $this->port = $port;
        $this->user = $user;
        $this->password = $password;
    }
RabbitMqHttpClient