Class
ServeCommand
Boots the application’s server. Listens for
SIGINT and SIGTERM for graceful shutdown.final class ServeCommand
Overview
$ swift run Run serve
Server starting on http://localhost:8080
Topics
Structures
Instance Properties
var help: StringText that will be displayed when--helpis passed.let signature: ServeCommand.Signature
Instance Methods
Enumerations
enum ErrorErrors that may be thrown when serving a server
Relationships
Conforms To
ConsoleKitCommands.AnyAsyncCommandConsoleKitCommands.AsyncCommandSwift.SendableSwift.SendableMetatype