mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-21 22:25:03 -04:00
17 lines
577 B
C#
17 lines
577 B
C#
// 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
|
|
{
|
|
/// <summary>
|
|
/// Accepts an websocket request using the specified user function.
|
|
/// </summary>
|
|
/// <param name="callback">The callback that fires when the websocket is ready.</param>
|
|
Task AcceptWebSocketRequest(Func<IWebSocket, Task> callback);
|
|
}
|
|
}
|