Dispatch with AsyncHttpClient as the underlying library
Scala
Pull request Compare This branch is 528 commits behind dispatch:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
src
.gitignore
README.markdown
build.sbt

README.markdown

Dispatch Reboot

A rethink of Dispatch with sonatype/async-http-client as the underlying transport library.

Currently, you can do something like this:

import dispatch._
val raw = :/("raw.github.com").secure
val readme = raw / "dispatch" / "reboot" / "master" / "README.markdown"
val promise = Http(readme > As.string)
for (string <- promise) {
  println(string)
}

// tidy up
Http.shutdown()