include/SugarSearchEngine/Elastic/Elastica/Transport/Https.php
Elastica Http Transport object
- Author
- Nicolas Ruflin
- Category
- Xodoa
- Package
- Elastica
\Elastica_Transport_Https
Package: Elastica
Parameters
Returns
Elastica Http Transport object
- Parent(s)
- \Elastica_Transport_Http < \Elastica_Transport_Abstract
- Author
- Nicolas Ruflin
- Category
- Xodoa
Properties
$_config= ''
Details
- Type
- n/a
- Inherited_from
- \Elastica_Transport_Abstract::$$_config
- Inherited_from
- \Elastica_Transport_Http::$$_config
resource
$_connection= 'null'
Default value
null
Details- Type
- resource
- Inherited_from
- \Elastica_Transport_Http::$$_connection
$_data= ''
Details
- Type
- n/a
- Inherited_from
- \Elastica_Transport_Abstract::$$_data
- Inherited_from
- \Elastica_Transport_Http::$$_data
$_method= ''
Details
- Type
- n/a
- Inherited_from
- \Elastica_Transport_Abstract::$$_method
- Inherited_from
- \Elastica_Transport_Http::$$_method
$_path= ''
Details
- Type
- n/a
- Inherited_from
- \Elastica_Transport_Abstract::$$_path
- Inherited_from
- \Elastica_Transport_Http::$$_path
Methods
__construct(
\Elastica_Request $request
)
:
void
inherited
Inherited from:
\Elastica_Transport_Abstract::__construct()\Elastica_Transport_Http::__construct()
Parameters
Name | Type | Description |
---|---|---|
$request | \Elastica_Request | Request object |
_getConnection(
)
:
resource
inherited
Inherited from:
\Elastica_Transport_Http::_getConnection()
Returns
Type | Description |
---|---|
resource | Connection resource |
_setupCurl(
resource $connection
)
:
void
Overloads setupCurl to set SSL params
Parameters
Name | Type | Description |
---|---|---|
$connection | resource | Curl connection resource |
exec(
string $host, int $port
)
:
\Elastica_Response
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 |
getRequest(
)
:
\Elastica_Request
inherited
Returns the request object
Inherited from: \Elastica_Transport_Abstract::getRequest()\Elastica_Transport_Http::getRequest()
Returns
Type | Description |
---|---|
\Elastica_Request | Request object |