Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View acjay's full-sized avatar

Alan Johnson acjay

View GitHub Profile

Keybase proof

I hereby claim:

  • I am acjay on github.
  • I am acjay ( on keybase.
  • I have a public key ASDbQdDaZnCSLI2SiGR4WvHWk796M8fkGS7OYBb-4HFn9wo

To claim this, I am signing this object:

acjay / directive2.scala
Last active February 22, 2018 20:01 — forked from adamw/directive2.scala
import akka.http.scaladsl.server.Directives.{extractRequestContext, mapRouteResult}
import akka.http.scaladsl.server.{Directive0, RequestContext, RouteResult}
import akka.http.scaladsl.server.RouteResult.{Complete, Rejected}
import akka.util.ByteString
import scala.concurrent.ExecutionContext
import scala.util.{Success, Try}
object AroundDirectives {