aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/ControlRequest.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-09-01 18:24:42 -0600
committercrobibero <cody@robibe.ro>2020-09-01 18:24:42 -0600
commitf443c534bfac9feea4c92033e85a9aa5097ec4f5 (patch)
tree6d0bcffc442c283f999232c54536c9d774a6f672 /Emby.Dlna/ControlRequest.cs
parent852213d90cd6fe3c4e7b6922ca1f8162bc34c55e (diff)
parent506fc7cbaeb8f82716f84b125ac598ff740bf552 (diff)
Merge remote-tracking branch 'upstream/master' into package-install-repo
Diffstat (limited to 'Emby.Dlna/ControlRequest.cs')
-rw-r--r--Emby.Dlna/ControlRequest.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Emby.Dlna/ControlRequest.cs b/Emby.Dlna/ControlRequest.cs
index a6e03b7e6..4ea4e4e48 100644
--- a/Emby.Dlna/ControlRequest.cs
+++ b/Emby.Dlna/ControlRequest.cs
@@ -7,17 +7,17 @@ namespace Emby.Dlna
{
public class ControlRequest
{
- public IHeaderDictionary 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 HeaderDictionary();
- }
}
}