pub trait GenericRequest {
    fn headers(&self) -> &HeaderMap<HeaderValue>;
    fn url(&self) -> &str;
    fn method(&self) -> &str;
}
Expand description

Generic request type. Allows you to pass any reqwest::Request-like object. You’re gonna need to wrap whatever client’s Request type you’re using in your own type, as the orphan rules won’t allow you to impl this trait.

Required Methods

Headers

Url

Method.

Implementations on Foreign Types

Implementors