Vapor Documentation Beta

Class HTTPServer

public final class HTTPServer: Server
%3 HTTPServer HTTPServer Server Server HTTPServer->Server

Nested Types

HTTPServer.Configuration

Engine server config struct.

Conforms To

Server

Properties

on​Shutdown

var onShutdown: EventLoopFuture<Void>

Methods

start(address:​)

public func start(address: BindAddress?) throws

shutdown()

public func shutdown()