Animatroller.ExpanderCommunication.SignalRServer.StartAsync C# (CSharp) Method

StartAsync() public method

public StartAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        public Task StartAsync()
        {
            var startOptions = new StartOptions(string.Format("http://+:{0}/", this.listenPort))
            {
                ServerFactory = "Microsoft.Owin.Host.HttpListener"
            };
            this.signalrServer = WebApp.Start<SignalRServerStartup>(startOptions);

            return Task.CompletedTask;
        }