Trait elastic_reqwest::ElasticClient
[−]
[src]
pub trait ElasticClient { fn elastic_req<I, B>(&self,
params: &RequestParams,
req: I)
-> Result<Response, Error> where I: Into<HttpRequest<'static, B>>, B: IntoReqwestBody; }
Represents a client that can send Elasticsearch requests.
Required Methods
fn elastic_req<I, B>(&self,
params: &RequestParams,
req: I)
-> Result<Response, Error> where I: Into<HttpRequest<'static, B>>, B: IntoReqwestBody
params: &RequestParams,
req: I)
-> Result<Response, Error> where I: Into<HttpRequest<'static, B>>, B: IntoReqwestBody
Send a request and get a response.
Implementors
impl ElasticClient for Client