Elastification PHP Client API
Class

Elastification\Client\Transport\Thrift\ThriftRequest

class ThriftRequest implements TransportRequestInterface

Methods

__construct(string $method, array $vals = null)

void setBody(string $body)

void setPath(string $path)

RestRequest getWrappedRequest()

void setQueryParams(array $params)

Details

at line 25
public __construct(string $method, array $vals = null)

Parameters

string $method The http method to use.
array $vals

at line 36
public void setBody(string $body)

Parameters

string $body The raw request body.

Return Value

void

at line 46
public void setPath(string $path)

Parameters

string $path The path according to the Elasticsearch http interface.

Return Value

void

at line 55
public RestRequest getWrappedRequest()

Return Value

RestRequest

at line 65
public void setQueryParams(array $params)

Parameters

array $params

Return Value

void