Which web server uses akka akka-http and how can I get its version?

I am using akka and akka-http 2.4.2, and I am trying to understand the internal components of them.

What to use akka and akka-http to start a leisure web service?
Does he use embebedd web service? (e.g. Jetty?)
How to get its version?

The code that I run to run my leisure web service:

implicit val actorSystem = ActorSystem("system") implicit val actorMaterializer = ActorMaterializer() val route: Route = { blablabla ... } val bind = Http().bindAndHandle(route, "0.0.0.0", 8080) 

Thanks.

+2
source share
1 answer

There is no web server used by akka http. Akka http binds to the port on its own, and it speaks Http over Tcp itself, without relying on any other third-party libraries to do the part. This differs from the Unfiltered library, which defines a common abstraction for handling Http requests, and then provides several implementation options, such as Netty and Jetty, that the user can select.

+4
source

Source: https://habr.com/ru/post/1245023/


All Articles