Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (17 sloc) 0.488 kb

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()
Jump to Line
Something went wrong with that request. Please try again.