// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; using System.Threading.Tasks; namespace Microsoft.AspNet.SignalR.Hosting { public interface IWebSocketRequest : IRequest { /// /// Accepts an websocket request using the specified user function. /// /// The callback that fires when the websocket is ready. Task AcceptWebSocketRequest(Func callback); } }