Elastification PHP Client API
Interface

Elastification\Client\Transport\TransportRequestInterface

interface TransportRequestInterface

Represents a transport request.

Methods

void setBody(string $body)

void setPath(string $path)

void setQueryParams(array $params)

Details

at line 33
public void setBody(string $body)

Parameters

string $body The raw request body.

Return Value

void

at line 40
public void setPath(string $path)

Parameters

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

Return Value

void

at line 47
public void setQueryParams(array $params)

Parameters

array $params

Return Value

void