All Downloads are FREE. Search and download functionalities are using the official Maven repository.

im.actor.server.api.http.HttpApiHook.scala Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package im.actor.server.api.http

import akka.actor.ActorSystem
import akka.http.scaladsl.server.Route
import im.actor.hook.{ SyncHook0, SyncHooksStorage0, HooksControl }

import scala.concurrent.ExecutionContext

object HttpApiHook {
  abstract class RoutesHook(system: ActorSystem) extends SyncHook0[Route]
}

final class HttpApiHookControl(implicit ec: ExecutionContext) extends HooksControl {
  import HttpApiHook._

  val routesHook = new SyncHooksStorage0[RoutesHook, Route]()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy