May 2017
Intermediate to advanced
414 pages
13h
English
For this recipe, perform the following steps:
package com.packt.chapter9 import akka.http.scaladsl.server.Directives._ import akka.http.scaladsl.server._ import scala.collection.mutable trait InMemoryStorageRestApi[K, V] { implicit val fixedPath: String def composedRoute(cache: mutable.Map[K, V]) = versionOneRoute { temperaturePathRoute { handleAllMethods(cache) } } private def versionOneRoute(route: Route) = pathPrefix("v1") { route } private ...
Read now
Unlock full access