diff options
Diffstat (limited to 'Emby.Dlna/ControlRequest.cs')
| -rw-r--r-- | Emby.Dlna/ControlRequest.cs | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Emby.Dlna/ControlRequest.cs b/Emby.Dlna/ControlRequest.cs index afd9a0b87..8ee6325e9 100644 --- a/Emby.Dlna/ControlRequest.cs +++ b/Emby.Dlna/ControlRequest.cs @@ -1,21 +1,25 @@ -using System.Collections.Generic; +#nullable disable + +#pragma warning disable CS1591 + using System.IO; +using Microsoft.AspNetCore.Http; namespace Emby.Dlna { public class ControlRequest { - public IDictionary<string, string> Headers { get; set; } + public ControlRequest(IHeaderDictionary headers) + { + Headers = headers; + } + + public IHeaderDictionary Headers { get; } public Stream InputXml { get; set; } public string TargetServerUuId { get; set; } public string RequestedUrl { get; set; } - - public ControlRequest() - { - Headers = new Dictionary<string, string>(); - } } } |
