Skip to content

Instantly share code, notes, and snippets.

Created Aug 23, 2011

What would you like to do?
val request: HttpRequest =
new DefaultHttpRequest(HTTP_1_1, GET, "/")
val responseFuture: Future[HttpResponse] = client(request)
responseFuture onSuccess { responseFuture =>
} onFailure { exception =>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.