class PekkoHttpServer extends Server
Ordering
- Alphabetic
- By Inheritance
Inherited
- PekkoHttpServer
- Server
- ReloadableServer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def applicationProvider: ApplicationProvider
- Definition Classes
- → Server
- def httpPort: Option[Int]
Returns the HTTP port of the server.
Returns the HTTP port of the server.
This is useful when the port number has been automatically selected (by setting a port number of 0).
- returns
The HTTP port the server is bound to, if the HTTP connector is enabled.
- Definition Classes
- Server
- def httpsPort: Option[Int]
Returns the HTTPS port of the server.
Returns the HTTPS port of the server.
This is useful when the port number has been automatically selected (by setting a port number of 0).
- returns
The HTTPS port the server is bound to, if the HTTPS connector is enabled.
- Definition Classes
- Server
- lazy val mainAddress: InetSocketAddress
Get the address of the server.
- def mode: api.Mode
- Definition Classes
- → Server
- def reload(): Unit
- Definition Classes
- Server → ReloadableServer
- def remoteAddressOfRequest(req: HttpRequest): InetSocketAddress
- val serverEndpoints: ServerEndpoints
Endpoints information for this server.
Endpoints information for this server.
- Definition Classes
- → Server
- def stop(): Unit
- Definition Classes
- → Server → ReloadableServer
Starts a Play server using Pekko HTTP.