Skip to content

Instantly share code, notes, and snippets.

Alan Johnson acjay

Block or report user

Report or block acjay

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 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 {
You can’t perform that action at this time.