object ServerEndpointRecipe

Annotations
@ApiMayChange()
Source
ServerEndpointRecipe.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerEndpointRecipe
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def startEndpoint(endpointRecipe: ServerEndpointRecipe, appFactory: ApplicationFactory): (, AutoCloseable)

    Starts a server by following a and using the application provided by an ApplicationFactory.

    Starts a server by following a and using the application provided by an ApplicationFactory. The server's endpoint is passed to the given block of code.

  2. def withEndpoint[A](endpointRecipe: ServerEndpointRecipe, appFactory: ApplicationFactory)(block: (ServerEndpoint) => A): A