mirror of
https://git.asonix.dog/asonix/http-signature-normalization.git
synced 2024-11-28 20:31:17 +00:00
Alter type specification in client example
This commit is contained in:
parent
686e52213e
commit
9c24eb5566
1 changed files with 2 additions and 2 deletions
|
@ -14,12 +14,12 @@ fn main() {
|
|||
Client::default()
|
||||
.post("http://127.0.0.1:8010/")
|
||||
.header("User-Agent", "Actix Web")
|
||||
.authorization_signature_with_digest::<_, MyError, _, _, _>(
|
||||
.authorization_signature_with_digest(
|
||||
&config,
|
||||
"my-key-id",
|
||||
&mut digest,
|
||||
"Hewwo-owo",
|
||||
|s| Ok(base64::encode(s)),
|
||||
|s| Ok(base64::encode(s)) as Result<_, MyError>,
|
||||
)
|
||||
.unwrap()
|
||||
.send()
|
||||
|
|
Loading…
Reference in a new issue