Home
last modified time | relevance | path

Searched refs:Connection (Results 1 – 25 of 54) sorted by relevance

123

/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Connection/
H A DConnectionPool.php3 namespace Elastica\Connection;
6 use Elastica\Connection; alias
7 use Elastica\Connection\Strategy\StrategyInterface;
19 * @var array|Connection[] Connections array
48 * @param Connection $connection
52 public function addConnection(Connection $connection): self
60 * @param Connection[] $connections
86 * @return Connection[]
96 * @return Connection
98 public function getConnection(): Connection
[all …]
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Transport/
H A DAbstractTransport.php5 use Elastica\Connection; alias
19 * @var Connection
26 * @param Connection $connection Connection object
28 public function __construct(Connection $connection = null)
36 * @return Connection Connection object
38 public function getConnection(): Connection
44 * @param Connection $connection Connection object
48 public function setConnection(Connection $connection): AbstractTransport
95 * @param Connection $connection A connection instance
102 …public static function create($transport, Connection $connection, array $params = []): AbstractTra…
H A DHttpAdapter.php5 use Elastica\Connection; alias
33 * @param Connection $connection
36 public function __construct(Connection $connection = null, HttpAdapterInterface $httpAdapter)
103 * @param Connection $connection
107 …protected function _createHttpAdapterRequest(ElasticaRequest $elasticaRequest, Connection $connect…
142 protected function _getUri(ElasticaRequest $request, Connection $connection): string
H A DGuzzle.php5 use Elastica\Connection; alias
6 use Elastica\Exception\Connection\GuzzleException;
118 * @param Connection $connection
122 protected function _createPsr7Request(Request $request, Connection $connection)
173 * @param Connection $connection
177 protected function _getBaseUrl(Connection $connection): string
H A DAwsAuthV4.php8 use Elastica\Connection; alias
31 protected function _getBaseUrl(Connection $connection): string
83 * @param Connection $conn
88 private function isSslRequired(Connection $conn, bool $default = false): bool
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Connection/Strategy/
H A DStrategyInterface.php3 namespace Elastica\Connection\Strategy;
5 use Elastica\Connection; alias
15 * @param Connection[] $connections
17 * @return Connection
19 public function getConnection(array $connections): Connection;
H A DRoundRobin.php3 namespace Elastica\Connection\Strategy;
5 use Elastica\Connection; alias
17 public function getConnection(array $connections): Connection
H A DSimple.php3 namespace Elastica\Connection\Strategy;
5 use Elastica\Connection; alias
18 public function getConnection(array $connections): Connection
H A DCallbackStrategy.php3 namespace Elastica\Connection\Strategy;
5 use Elastica\Connection; alias
30 public function getConnection(array $connections): Connection
H A DStrategyFactory.php3 namespace Elastica\Connection\Strategy;
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/ConnectionPool/
H A DSniffingConnectionPoolTest.php9 use Elasticsearch\Connections\Connection; alias
39 $mockConnection = m::mock(Connection::class)
71 $mockConnection = m::mock(Connection::class)
81 $mockNewConnection = m::mock(Connection::class)
107 $mockConnection = m::mock(Connection::class)
117 $mockNewConnection = m::mock(Connection::class)
184 $mockConnection = m::mock(Connection::class)
245 $mockConnection = m::mock(Connection::class)
295 $mockConnection = m::mock(Connection::class)
357 $mockConnection = m::mock(Connection::class)
[all …]
H A DStaticConnectionPoolTest.php10 use Elasticsearch\Connections\Connection; alias
33 $mockConnection = m::mock(Connection::class)
69 $mockConnection = m::mock(Connection::class)
103 $mockConnection = m::mock(Connection::class)
140 $mockConnection = m::mock(Connection::class)
154 $goodConnection = m::mock(Connection::class)
188 $mockConnection = m::mock(Connection::class)
202 $goodConnection = m::mock(Connection::class)
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/Connections/
H A DConnectionTest.php9 use Elasticsearch\Connections\Connection; alias
33 $connection = new Connection(
43 $this->assertInstanceOf(Connection::class, $connection);
53 $connection = new Connection(
76 $connection = new Connection(
/plugin/phpipam/
H A Dphpipam-api.php80 private $Connection = false; variable in phpipam_api_client
648 if ($this->Connection==false) {
650 $this->Connection = curl_init();
661 curl_setopt_array($this->Connection, array(
700 curl_setopt($this->Connection, CURLOPT_POSTFIELDS, json_encode($params));
733 curl_setopt($this->Connection, CURLOPT_CUSTOMREQUEST, $this->api_server_method);
791 curl_setopt($this->Connection, CURLOPT_HTTPHEADER, $headers);
844 $resp = curl_exec($this->Connection);
847 if (curl_errno($this->Connection)) {
848 $this->exception("Curl error: ".curl_error($this->Connection));
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/
H A DStaticNoPingConnectionPool.php9 use Elasticsearch\Connections\Connection; alias
38 * @var Connection $connection
57 private function readyToRevive(Connection $connection): bool
H A DSniffingConnectionPool.php10 use Elasticsearch\Connections\Connection; alias
44 * @var Connection $connection
74 * @var Connection $connection
98 private function sniffConnection(Connection $connection): bool
H A DStaticConnectionPool.php9 use Elasticsearch\Connections\Connection; alias
41 * @var Connection $connection
74 private function readyToRevive(Connection $connection): bool
H A DSimpleConnectionPool.php8 use Elasticsearch\Connections\Connection; alias
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/
H A DRequest.php34 * @param Connection $connection
39 …__construct($path, $method = self::GET, $data = [], array $query = [], Connection $connection = nu…
143 public function setConnection(Connection $connection)
H A DClient.php56 * @var Connection\ConnectionPool
124 $connections[] = Connection::create($this->_prepareConnectionParams($connection));
129 $connections[] = Connection::create($this->_prepareConnectionParams($server));
135 … $connections[] = Connection::create($this->_prepareConnectionParams($this->getConfig()));
146 … $strategy = Connection\Strategy\StrategyFactory::create($this->getConfig('connectionStrategy'));
148 … $this->_connectionPool = new Connection\ConnectionPool($connections, $strategy, $this->_callback);
497 public function addConnection(Connection $connection)
H A DConnection.php13 class Connection extends Param class
48 * @see Connection::setConnectTimeout();
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/
H A DTransport.php9 use Elasticsearch\Connections\Connection; alias
41 * @var Connection
/plugin/rdplink/
H A Dplugin.info.txt6 desc Enables you to create links that automagically generate and open Remote Desktop Connection con…
/plugin/html2pdf/html2pdf/html2ps/templates/
H A Derror._connection.tpl1 <h1>Connection error</h1>
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Exception/Connection/
H A DHttpException.php3 namespace Elastica\Exception\Connection;

123