Elastification PHP Client API
Class

Elastification\Client\Transport\Thrift\ThriftTransport

class ThriftTransport implements TransportInterface

Thrift transport implementation.

This needs the elasticsearch thrift plugin to be installed on the server side.

Methods

__construct(RestClient $thriftClient)

TransportRequestInterface createRequest(string $httpMethod)

TransportResponseInterface send(TransportRequestInterface $request)

Details

at line 43
public __construct(RestClient $thriftClient)

Parameters

RestClient $thriftClient

at line 53
public TransportRequestInterface createRequest(string $httpMethod)

Parameters

string $httpMethod The http method to use.

Return Value

TransportRequestInterface

at line 63
public TransportResponseInterface send(TransportRequestInterface $request)

Parameters

TransportRequestInterface $request The configured request to send.

Return Value

TransportResponseInterface