patron 0.2.1

A wrapper around the hyper.rs library to allow for targeted clients to specific remote APIs. This library should be useful on it's own or as a building block for specific remote API wrappers.


pub trait Body {
  //fn blob(&self) -> Blob;

  //fn formData(&self) -> FormData;

  fn json(&self) -> serde_json::Value;


  fn text(&self) -> String;
}