[−][src]Trait http_signature_normalization_actix::Sign
A trait implemented by the Actix Web ClientRequest type to add an HTTP signature to the request
Required methods
fn authorization_signature<F, E, K>(
self,
config: &Config,
key_id: K,
f: F
) -> Result<Self, E> where
F: FnOnce(&str) -> Result<String, E>,
E: From<ToStrError> + From<InvalidHeaderValue>,
K: Display,
Self: Sized,
self,
config: &Config,
key_id: K,
f: F
) -> Result<Self, E> where
F: FnOnce(&str) -> Result<String, E>,
E: From<ToStrError> + From<InvalidHeaderValue>,
K: Display,
Self: Sized,
Add an Authorization Signature to the request
fn signature<F, E, K>(self, config: &Config, key_id: K, f: F) -> Result<Self, E> where
F: FnOnce(&str) -> Result<String, E>,
E: From<ToStrError> + From<InvalidHeaderValue>,
K: Display,
Self: Sized,
F: FnOnce(&str) -> Result<String, E>,
E: From<ToStrError> + From<InvalidHeaderValue>,
K: Display,
Self: Sized,
Add a Signature to the request
Implementations on Foreign Types
impl Sign for ClientRequest
[src]
fn authorization_signature<F, E, K>(
self,
config: &Config,
key_id: K,
f: F
) -> Result<Self, E> where
F: FnOnce(&str) -> Result<String, E>,
E: From<ToStrError> + From<InvalidHeaderValue>,
K: Display,
[src]
self,
config: &Config,
key_id: K,
f: F
) -> Result<Self, E> where
F: FnOnce(&str) -> Result<String, E>,
E: From<ToStrError> + From<InvalidHeaderValue>,
K: Display,
fn signature<F, E, K>(self, config: &Config, key_id: K, f: F) -> Result<Self, E> where
F: FnOnce(&str) -> Result<String, E>,
E: From<ToStrError> + From<InvalidHeaderValue>,
K: Display,
[src]
F: FnOnce(&str) -> Result<String, E>,
E: From<ToStrError> + From<InvalidHeaderValue>,
K: Display,