/** * Common interface for server. * * @template State Type of state * @author Jeongho Nam - https://github.com/samchon */ export interface IServer { /** * Current state of the server. */ readonly state: State; } export declare namespace IServer { const enum State { NONE = -1, OPENING = 0, OPEN = 1, CLOSING = 2, CLOSED = 3 } }