Type Alias SimulatorClient

Source
pub type SimulatorClient = ClientWrapper<SimulatorRequestBuilder, Client>;

Aliased Type§

struct SimulatorClient(/* private fields */);

Implementations§

Source§

impl SimulatorClient

Source

pub fn new() -> Self

§Panics
  • If the empty ClientBuilder somehow fails to build
Source

pub const fn builder() -> SimulatorClientBuilder

Source

pub fn get(&self, url: &str) -> SimulatorRequestBuilder

Source

pub fn post(&self, url: &str) -> SimulatorRequestBuilder

Source

pub fn put(&self, url: &str) -> SimulatorRequestBuilder

Source

pub fn patch(&self, url: &str) -> SimulatorRequestBuilder

Source

pub fn delete(&self, url: &str) -> SimulatorRequestBuilder

Source

pub fn head(&self, url: &str) -> SimulatorRequestBuilder

Source

pub fn options(&self, url: &str) -> SimulatorRequestBuilder

Source

pub fn request(&self, method: Method, url: &str) -> SimulatorRequestBuilder

Trait Implementations§

Source§

impl Default for SimulatorClient

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl GenericClient<RequestBuilderWrapper<ResponseWrapper<Response>, RequestBuilder>> for SimulatorClient

Source§

fn request(&self, method: Method, url: &str) -> SimulatorRequestBuilder

Source§

fn get(&self, url: &str) -> RB

Source§

fn post(&self, url: &str) -> RB

Source§

fn put(&self, url: &str) -> RB

Source§

fn patch(&self, url: &str) -> RB

Source§

fn delete(&self, url: &str) -> RB

Source§

fn head(&self, url: &str) -> RB

Source§

fn options(&self, url: &str) -> RB