Start() public method

Start server.
public Start ( ) : void
return void
示例#1
0
        static void Main(string[] args)
        {
            AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;

            using (var server = new Http2Server(app.Default.Port))
            {
                server.Start();
            }
        }
        static void Main(string[] args)
        {
            AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;

            using (var server = new Http2Server(app.Default.Port))
            {
                server.Start();
            }
        }