ServerState

public enum ServerState

Enum defining possible server states.

  • Initial server state.

    Declaration

    Swift

    case unknown
  • State indicating that server has been started.

    Declaration

    Swift

    case started
  • State indicating that server was stopped.

    Declaration

    Swift

    case stopped
  • State indicating that server has thrown an error.

    Declaration

    Swift

    case failed