Trait http_signatures::WithHttpSignature
[−]
[src]
pub trait WithHttpSignature<T>: AsHttpSignature<T> where
T: Read, { fn with_http_signature(
&mut self,
key_id: String,
key: T,
algorithm: SignatureAlgorithm
) -> Result<&mut Self, Error>; }
WithHttpSignature defines a trait for adding an Authorization header to another library's
request or response object.
Required Methods
fn with_http_signature(
&mut self,
key_id: String,
key: T,
algorithm: SignatureAlgorithm
) -> Result<&mut Self, Error>
&mut self,
key_id: String,
key: T,
algorithm: SignatureAlgorithm
) -> Result<&mut Self, Error>