Skip to content

Commit

Permalink
Remove finagle-http
Browse files Browse the repository at this point in the history
Problem

finagle-http is deprecated in favor of finagle-httpx and should be
removed.

See our blog post on upgrading to Netty 4 for more information[1]. Drop
by finaglers[2] if you have any questions.

Solution

Remove finagle-http and convert its dependents to finagle-httpx.

[1] https://finagle.github.io/blog/2014/10/20/upgrading-finagle-to-netty-4/
[2] https://groups.google.com/d/forum/finaglers

RB_ID=746510
  • Loading branch information
luciferous authored and jenkins committed Sep 28, 2015
1 parent 6e38982 commit 5ba3680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/src/sphinx/code/BasicServer.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//#imports
import com.twitter.finagle.{Http, Service}
import com.twitter.finagle.{Httpx, Service}
import com.twitter.io.Charsets
import com.twitter.server.TwitterServer
import com.twitter.util.{Await, Future}
Expand All @@ -16,7 +16,7 @@ object BasicServer extends TwitterServer {
}

def main() {
val server = Http.serve(":8888", service)
val server = Httpx.serve(":8888", service)
onExit {
server.close()
}
Expand Down

0 comments on commit 5ba3680

Please sign in to comment.