object ServerEndpointRecipe
- Annotations
- @ApiMayChange()
- Source
- ServerEndpointRecipe.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServerEndpointRecipe
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- 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. - def withEndpoint[A](endpointRecipe: ServerEndpointRecipe, appFactory: ApplicationFactory)(block: (ServerEndpoint) => A): A