Instance Method (Default implementation)vapor 4.106.3Vapor

    shutdown

    A default implementation for those servers that haven’t migrated yet

    Server.swift:77

    This declaration is deprecated: Implement an async version of this yourself

    func shutdown() async

    Implements

    Other members in extension

    Instance members

    • func start() throws

      Start the server with its default configuration, listening over a regular TCP socket.

    Show obsolete interfaces (3)

    Hide obsolete interfaces