Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 257 Bytes

File metadata and controls

6 lines (5 loc) · 257 Bytes

akka-http-switch-routes-demo

A demonstration of dynamic route switching based on incoming requests in akka-http.

There are two example approaches:

  1. Encapsulating the switch decision (and state) in an actor.
  2. Explicitly synchronized switch variable.