mirror of
https://github.com/Start9Labs/rpc-toolkit.git
synced 2026-03-26 02:11:56 +00:00
add debug info
This commit is contained in:
@@ -110,11 +110,13 @@ pub async fn call_remote_http(
|
||||
req = req.header("accept", "application/json");
|
||||
body = serde_json::to_vec(&req)?;
|
||||
}
|
||||
dbg!();
|
||||
let res = req
|
||||
.header("content-length", body.len())
|
||||
.body(body)
|
||||
.send()
|
||||
.await?;
|
||||
dbg!();
|
||||
|
||||
match res
|
||||
.headers()
|
||||
|
||||
Reference in New Issue
Block a user