-
Notifications
You must be signed in to change notification settings - Fork 126
/
Copy pathRequestState.cs
33 lines (31 loc) · 1.17 KB
/
RequestState.cs
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
using System;
using System.Net;
namespace PubnubApi
{
public sealed class RequestState<T>
{
public DateTime? TimeQueued { get; internal set; }
public HttpWebRequest Request { get; internal set; }
public HttpWebResponse Response { get; internal set; }
public bool GotJsonResponse { get; internal set; }
public PNOperationType ResponseType { get; internal set; }
public string[] Channels { get; internal set; }
public string[] ChannelGroups { get; internal set; }
public bool Timeout { get; internal set; }
public bool Reconnect { get; internal set; }
public long Timetoken { get; internal set; }
public int Region { get; internal set; }
public PNCallback<T> PubnubCallback { get; internal set; }
public bool UsePostMethod { get; internal set; }
public bool UsePatchMethod { get; internal set; }
public object EndPointOperation { get; internal set; }
public RequestState()
{
PubnubCallback = null;
Request = null;
Response = null;
Channels = null;
ChannelGroups = null;
}
}
}