You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
643 B
18 lines
643 B
// 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);
|
|
}
|
|
}
|