mirror of
https://github.com/Radarr/Radarr
synced 2025-12-26 02:03:53 +01:00
17 lines
643 B
C#
17 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);
|
|
}
|
|
}
|