Why get method is not returning a Response object in reqwest?

前端 未结 0 1909
日久生厌
日久生厌 2021-01-04 08:45

I\'m trying to replicate an example from reqwest documentation. Here is the example:

let body = reqwest::get("https://www.rust-lang.org")?
.text()?;         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题