forked from ServiceStack/ServiceStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRequestInfo.cs
More file actions
42 lines (33 loc) · 915 Bytes
/
RequestInfo.cs
File metadata and controls
42 lines (33 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace ServiceStack.IntegrationTests.ServiceModel
{
[DataContract]
public class RequestInfo
{
}
[DataContract]
public class RequestInfoResponse
{
public RequestInfoResponse()
{
this.EnpointAttributes = new List<string>();
this.RequestAttributes = new List<string>();
this.Ipv4Addresses = new Dictionary<string, string>();
this.Ipv6Addresses = new List<string>();
}
[DataMember]
public List<string> EnpointAttributes { get; set; }
[DataMember]
public List<string> RequestAttributes { get; set; }
[DataMember]
public string IpAddress { get; set; }
public string IpAddressFamily { get; set; }
[DataMember]
public Dictionary<string, string> Ipv4Addresses { get; set; }
[DataMember]
public List<string> Ipv6Addresses { get; set; }
[DataMember]
public string NetworkLog { get; set; }
}
}