22 lines
525 B
C#
22 lines
525 B
C#
// Copyright (c) .NET Foundation. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using System;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.Owin;
|
|
using Owin;
|
|
|
|
[assembly: OwinStartup(typeof(SignalRServer.Startup))]
|
|
|
|
namespace SignalRServer
|
|
{
|
|
public class Startup
|
|
{
|
|
public void Configuration(IAppBuilder app)
|
|
{
|
|
app.MapSignalR();
|
|
app.MapSignalR<EchoConnection>("/echo");
|
|
}
|
|
}
|
|
}
|