mirage / ocaml-cohttp

An OCaml library for HTTP clients and servers using Lwt or Async
Other
713 stars 174 forks source link

Tutorial walkthrough of cohttp #25

Closed mk270 closed 9 years ago

avsm commented 11 years ago

Yep...

avsm commented 11 years ago

There are more examples in lib_test in 0.9.7, particularly with Async. I'll do more examples once the Lwt backend has had a little refactoring to clean it up.

rgrinberg commented 9 years ago

@avsm Is this issue still necessary? If so could you describe it a little bit better so that someone else can tackle it.

avsm commented 9 years ago

One library I really admire is the wreq Haskell HTTP client library. I was thinking that a walkthrough similar to http://www.serpentine.com/wreq/tutorial.html would be the ideal set of code snippets for most users of Cohttp as a client. A server side one could similarly have just enough to point people to (e.g.) opium or other web frameworks.

rgrinberg commented 9 years ago

@mk270 I've recently updated the front page readme with some docs. Feedback is welcome.