include/SugarSearchEngine/Elastic/Elastica/Transport/Https.php

Show: inherited
Table of Contents

Elastica Http Transport object

Author
Nicolas Ruflin  
Category
Xodoa  
Package
Elastica  

\Elastica_Transport_Https

Package: Elastica

Elastica Http Transport object

Parent(s)
\Elastica_Transport_Http < \Elastica_Transport_Abstract
Author
Nicolas Ruflin  
Category
Xodoa  

Properties

Propertyprotectedresource  $_connection= 'null'
staticinherited

Curl resource to reuseInherited from: \Elastica_Transport_Http::$$_connection
Default valuenullDetails
Type
resource
Inherited_from
\Elastica_Transport_Http::$$_connection  
Propertyprotected  $_data= ''
Details
Type
n/a
Inherited_from
\Elastica_Transport_Abstract::$$_data  
Inherited_from
\Elastica_Transport_Http::$$_data  
Propertyprotected  $_path= ''
Details
Type
n/a
Inherited_from
\Elastica_Transport_Abstract::$$_path  
Inherited_from
\Elastica_Transport_Http::$$_path  
Propertyprotectedstring  $_scheme= ''https''
https scheme

Default value'https'Details
Type
string

Methods

methodpublic__construct( \Elastica_Request $request ) : void
Parameters
Name Type Description
$request \Elastica_Request

Request object

methodprotected_getConnection( ) : resource
inherited

Inherited from: \Elastica_Transport_Http::_getConnection()
Returns
Type Description
resource Connection resource
methodprotected_setupCurl( resource $connection ) : void

Overloads setupCurl to set SSL params

Parameters
Name Type Description
$connection resource

Curl connection resource

methodpublicexec( string $host, int $port ) : \Elastica_Response
inherited

Makes calls to the elasticsearch server

Inherited from: \Elastica_Transport_Http::exec()

All calls that are made to the server are done through this function

Parameters
Name Type Description
$host string

Host name

$port int

Port number

Returns
Type Description
\Elastica_Response Response object
methodpublicgetRequest( ) : \Elastica_Request
inherited

Returns the request object

Inherited from: \Elastica_Transport_Abstract::getRequest()\Elastica_Transport_Http::getRequest()
Returns
Type Description
\Elastica_Request Request object
Documentation was generated by DocBlox 0.18.1.