Skip to content

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

  • help
    Text that will be displayed when --help is passed.
  • signature

Instance Methods

Enumerations

Relationships

Conforms To

  • ConsoleKitCommands.AnyAsyncCommand
  • ConsoleKitCommands.AsyncCommand
  • Swift.Sendable
  • Swift.SendableMetatype