aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Dlna/SsdpMessageEventArgs.cs
blob: 804f34311a8c0263b0c7995a35f539ce168eb4bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using System.Collections.Generic;
using System.Net;

namespace MediaBrowser.Controller.Dlna
{
    public class SsdpMessageEventArgs
    {
        public string Method { get; set; }

        public EndPoint EndPoint { get; set; }

        public Dictionary<string, string> Headers { get; set; }

        public IPEndPoint LocalEndPoint { get; set; }
        public byte[] Message { get; set; }

        public SsdpMessageEventArgs()
        {
            Headers = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
        }
    }
}