SimonTeixidor / ease

A library for writing REST API clients
MIT License
77 stars 8 forks source link

Support request timeout #6

Closed mre closed 8 years ago

mre commented 8 years ago

Hi!

It would be cool if we could support HTTP request timeouts like so: https://github.com/hyperium/hyper/blob/ce3dbd123d9cd10f4f1e09392ba6f3e4ac949d98/tests/client.rs#L252

It's a minor thing but might be worth adding. Thanks for your library!

SimonTeixidor commented 8 years ago

That sounds useful! I can take a look at it in a week or so as I'm away from my development machine right now. Or you could send a pull request and I'll take a look right away.

SimonTeixidor commented 8 years ago

I've pushed a new commit to add this feature, and updated the documentation. Feel free to reopen if your issue is not solved!

mre commented 8 years ago

Sweet. Thanks!