namespace EmbedIO { // NOTE TO CONTRIBUTORS: // ===================== // Do not reorder fields or change their values. // It is important that WebServerState values represent, // in ascending order, the stages of a web server's lifetime, // so that comparisons can be made; for example, // State < WebServerState.Listening means "not yet ready to accept requests". /// /// Represents the state of a web server. /// public enum WebServerState { /// /// The web server has not been started yet. /// Created, /// /// The web server has been started but it is still initializing. /// Loading, /// /// The web server is ready to accept incoming requests. /// Listening, /// /// The web server has been stopped. /// Stopped, } }