ServerBuilder
api.ServerBuilder
A utility class for constructing and starting an HTTP server.
This class uses the EmberServerBuilder
to set up a server with the provided HTTP routes. It integrates error handling for routes and ensures the server is properly managed as a Resource
, allowing safe startup and shutdown.
Value parameters
- routes
-
The HTTP routes to be served by the server.
Attributes
- Source
- ServerBuilder.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article