matt2xu / async-http-client

Asynchronous HTTP/1.1 client
9 stars 5 forks source link

Post with async-http-client #4

Open Tower450 opened 6 years ago

Tower450 commented 6 years ago

C'est plus une question qu'une issue, est-ce que ton async-http-client support les POST? je regardez le code et j'en suis pas certain.

Merci de m'éclaircir!

xenzh commented 6 years ago

Hi, if you're asking whether this library supports POST, I'm pretty sure it does: https://github.com/matt2xu/async-http-client/blob/master/src/lib.rs#L141

Tower450 commented 6 years ago

thanks bro! :)

Tower450 commented 6 years ago

i am coding a CLI right now and i need some async HTTP request since rust 1.25 it supports async i think you guys are doing the first async client in Rust! keep going guys! Right now i am using Easy Curl which is doing the job but i think i will migrate to yours when it will be ready.

xenzh commented 6 years ago

This project is good as an example how to use tokio and futures, but for real projects you'd probably want to consider hyper or reqwest - they both are mature, well-maintained and do have async http clients included.

Tower450 commented 6 years ago

yeah i tried both but i think your semantic is interesting, thanks a lot for your help