Packages

p

korolev

server

package server

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. server
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait KorolevService[F[_]] extends AnyRef
  2. case class KorolevServiceConfig[F[_], S, M](stateLoader: StateLoader[F, S], stateStorage: StateStorage[F, S] = null, router: Router[F, S] = Router.empty[F, S], rootPath: String = "/", render: (S) => Node[Binding[F, S, M]] = (_: S) => levsha.dsl.html.body(), head: (S) => Seq[Node[Binding[F, S, M]]] = (_: S) => Seq.empty, connectionLostWidget: Node[Binding[F, S, M]] = KorolevServiceConfig.defaultConnectionLostWidget[Context.Binding[F, S, M]], maxFormDataEntrySize: Int = 1024 * 8, extensions: List[Extension[F, S, M]] = Nil, idGenerator: IdGenerator[F] = IdGenerator.default[F](), heartbeatInterval: FiniteDuration = 5.seconds, reporter: Reporter = Reporter.PrintReporter)(implicit evidence$1: Effect[F], executionContext: ExecutionContext) extends Product with Serializable
  3. final case class Request[Body](path: Path, param: (String) => Option[String], cookie: (String) => Option[String], headers: Seq[(String, String)], body: Body) extends RequestHeader with Product with Serializable
  4. final case class Response[Body](status: Status, body: Body, headers: Seq[(String, String)]) extends Product with Serializable
  5. type StateLoader[F[_], S] = (DeviceId, RequestHeader) => F[S]

Value Members

  1. def korolevService[F[_], S, M](config: KorolevServiceConfig[F, S, M])(implicit arg0: Effect[F], arg1: StateSerializer[S], arg2: StateDeserializer[S]): KorolevService[F]
  2. object Headers
  3. object KorolevServiceConfig extends Serializable
  4. object Request extends Serializable
  5. object Response extends Serializable
  6. object StateLoader

Inherited from AnyRef

Inherited from Any

Ungrouped