Trait korero::http::Query[][src]

pub trait Query {
    fn endpoint(&self) -> Cow<'static, str>;

    fn params(&self) -> QueryParams<'_> { ... }
fn body(&self) -> Result<Option<&'static str>, &'static str> { ... } }

Required methods

Making HTTP request to this endpoint.

Provided methods

Optional. Array of key value pairs.

Optional. Generally a &'static str serialized by serde_json.

Implementors