mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-20 21:55:03 -04:00
18 lines
643 B
C#
18 lines
643 B
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
|
|
|
|
namespace Microsoft.AspNet.SignalR.Hubs
|
|
{
|
|
/// <summary>
|
|
/// Handles parsing incoming requests through the <see cref="HubDispatcher"/>.
|
|
/// </summary>
|
|
public interface IHubRequestParser
|
|
{
|
|
/// <summary>
|
|
/// Parses the incoming hub payload into a <see cref="HubRequest"/>.
|
|
/// </summary>
|
|
/// <param name="data">The raw hub payload.</param>
|
|
/// <returns>The resulting <see cref="HubRequest"/>.</returns>
|
|
HubRequest Parse(string data);
|
|
}
|
|
}
|