Server
public final class Server
Undocumented
-
Undocumented
Declaration
Swift
public let configuration: Configuration
-
Undocumented
Declaration
Swift
public let logger: Logger
-
Undocumented
Declaration
Swift
public let eventLoopGroup: EventLoopGroup
-
Undocumented
Declaration
Swift
public var onStart: ((EventLoop) -> Void)?
-
Undocumented
Declaration
Swift
public var onStop: (() -> Void)?
-
Undocumented
Declaration
Swift
public var onError: ((Error, EventLoop) -> Void)?
-
Undocumented
Declaration
Swift
public var onReceive: ((Request) async -> Encodable)?
-
Undocumented
Declaration
Swift
public var middleware: [Middleware]
-
Undocumented
Declaration
Swift
public init(configuration: Configuration = .init())
-
Undocumented
Declaration
Swift
public func start() throws
-
Undocumented
Declaration
Swift
public func stop() throws
-
Undocumented
See moreDeclaration
Swift
public struct Configuration : Equatable