include/SugarSearchEngine/Elastic/Elastica/Transport/Http.php
Elastica Http Transport object
- Author
- Nicolas Ruflin
- Category
- Xodoa
- Package
- Elastica
\Elastica_Transport_Http
Package: Elastica
Parameters
Returns
Elastica Http Transport object
- Parent(s)
- \Elastica_Transport_Abstract
- Children
- \Elastica_Transport_Https
- Author
- Nicolas Ruflin
- Category
- Xodoa
Properties
$_config= ''
inheritedInherited from:
\Elastica_Transport_Abstract::$$_config
Details
- Type
- n/a
- Inherited_from
- \Elastica_Transport_Abstract::$$_config
$_data= ''
inheritedInherited from:
\Elastica_Transport_Abstract::$$_data
Details
- Type
- n/a
- Inherited_from
- \Elastica_Transport_Abstract::$$_data
$_method= ''
inheritedInherited from:
\Elastica_Transport_Abstract::$$_method
Details
- Type
- n/a
- Inherited_from
- \Elastica_Transport_Abstract::$$_method
$_path= ''
inheritedInherited from:
\Elastica_Transport_Abstract::$$_path
Details
- Type
- n/a
- Inherited_from
- \Elastica_Transport_Abstract::$$_path
Methods
__construct(
\Elastica_Request $request
)
:
void
inherited
Inherited from:
\Elastica_Transport_Abstract::__construct()
Parameters
Name | Type | Description |
---|---|---|
$request | \Elastica_Request | Request object |
_setupCurl(
resource $connection
)
:
void
Called to add additional curl params
Parameters
Name | Type | Description |
---|---|---|
$connection | resource | Curl connection |
exec(
string $host, int $port
)
:
\Elastica_Response
Makes calls to the elasticsearch server
All calls that are made to the server are done through this function
Name | Type | Description |
---|---|---|
$host | string | Host name |
$port | int | Port number |
Type | Description |
---|---|
\Elastica_Response | Response object |