object TestServer extends Serializable

Source
TestServer.scala
Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestServer
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(port: Int, application: Application = GuiceApplicationBuilder().build(), sslPort: Option[Int] = None, serverProvider: Option[ServerProvider] = None): TestServer

    A test web server.

    A test web server.

    port

    HTTP port to bind on.

    application

    The Application to load in this server.

    sslPort

    HTTPS port to bind on.

    serverProvider

    The type of server to use. If not provided, uses Play's default provider.