Packages

trait ServerBuilder extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerBuilder
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Self <: ServerBuilder

Abstract Value Members

  1. abstract def bindSocketAddress(socketAddress: InetSocketAddress): Self
  2. abstract def mountService(service: HttpService, prefix: String = ""): Self
  3. abstract def start: Task[Server]

    Returns a task to start a server.

    Returns a task to start a server. The task completes with a reference to the server when it has started.

  4. abstract def withServiceExecutor(executorService: ExecutorService): Self

Concrete Value Members

  1. final def bindAny(host: String = DefaultHost): Self
  2. final def bindHttp(port: Int = DefaultHttpPort, host: String = DefaultHost): Self
  3. final def bindLocal(port: Int): Self
  4. final def run: Server

    Convenience method to run a server.

    Convenience method to run a server. The method blocks until the server is started.