mirror of
https://github.com/Radarr/Radarr
synced 2026-01-17 04:53:15 +01:00
21 lines
690 B
C#
21 lines
690 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.Collections.Generic;
|
|
|
|
namespace Microsoft.AspNet.SignalR.Hosting
|
|
{
|
|
public class HostContext
|
|
{
|
|
public IRequest Request { get; private set; }
|
|
public IResponse Response { get; private set; }
|
|
public IDictionary<string, object> Items { get; private set; }
|
|
|
|
public HostContext(IRequest request, IResponse response)
|
|
{
|
|
Request = request;
|
|
Response = response;
|
|
Items = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
|
|
}
|
|
}
|
|
}
|