Lines Matching refs:host

268         $host = $client->transport->getConnection();
269 $this->assertSame("localhost", $host->getHost());
270 $this->assertSame(9200, $host->getPort());
271 $this->assertSame("http", $host->getTransportSchema());
289 $host = $client->transport->getConnection();
290 $this->assertSame("foo.com", $host->getHost());
291 $this->assertSame(9200, $host->getPort());
292 $this->assertSame("http", $host->getTransportSchema());
310 $host = $client->transport->getConnection();
311 $this->assertSame("foo.com", $host->getHost());
312 $this->assertSame(9200, $host->getPort());
313 $this->assertSame("https", $host->getTransportSchema());
314 $this->assertSame("user:pass", $host->getUserPass());
328 $host = $client->transport->getConnection();
329 $this->assertSame("localhost", $host->getHost());
330 $this->assertSame(9200, $host->getPort());
331 $this->assertSame("http", $host->getTransportSchema());
343 $host = $client->transport->getConnection();
344 $this->assertSame("foo.com", $host->getHost());
345 $this->assertSame(9200, $host->getPort());
346 $this->assertSame("http", $host->getTransportSchema());
358 $host = $client->transport->getConnection();
359 $this->assertSame("foo.com", $host->getHost());
360 $this->assertSame(9200, $host->getPort());
361 $this->assertSame("https", $host->getTransportSchema());
372 $host = $client->transport->getConnection();
373 $this->assertSame("foo.com", $host->getHost());
374 $this->assertSame(9200, $host->getPort());
375 $this->assertSame("http", $host->getTransportSchema());
385 $host = $client->transport->getConnection();
386 $this->assertSame("foo.com", $host->getHost());
387 $this->assertSame(9200, $host->getPort());
388 $this->assertSame("http", $host->getTransportSchema());
400 $host = $client->transport->getConnection();
401 $this->assertSame("foo.com", $host->getHost());
402 $this->assertSame(9500, $host->getPort());
403 $this->assertSame("https", $host->getTransportSchema());
428 $host = $client->transport->getConnection();
429 $this->assertSame("the_foo.com", $host->getHost());
430 $this->assertSame(9200, $host->getPort());
431 $this->assertSame("http", $host->getTransportSchema());
444 $host = $client->transport->getConnection();
445 $this->assertSame("foo.com", $host->getHost());
446 $this->assertSame(9200, $host->getPort());
447 $this->assertSame("http", $host->getTransportSchema());
448 $this->assertSame("user:abc#$@?%!abc", $host->getUserPass());