Introduction
Akka HTTP is a streaming-first library that focuses on leveraging Akka Streams and Akka actors. Akka HTTP is another module under the Lightbend umbrella that provides comprehensive and easy APIs to create both HTTP servers and clients.
Akka HTTP defines different layers to do so and lets the developer decide how abstracted he or she wants to be compared to the low-level implementation protocol, depending on the use case. From the low-level point of view, it allows you to have actors deal with the incoming HTTP messages as messages. From the high-level point of view, it provides a directive-based routing DSL that helps you define what to do with the incoming requests, depending on their headers or content. The library also provides ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access