forked from linguanostra/GoogleMapsAPI.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRequestConfig.cs
More file actions
47 lines (36 loc) · 899 Bytes
/
Copy pathRequestConfig.cs
File metadata and controls
47 lines (36 loc) · 899 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
43
44
45
46
47
using GoogleMapsAPI.NET.Common;
namespace GoogleMapsAPI.NET.Requests
{
/// <summary>
/// Request config
/// </summary>
public class RequestConfig
{
#region Properties
/// <summary>
/// Headers
/// </summary>
public RequestHeaders Headers { get; }
/// <summary>
/// Timeout
/// </summary>
public int Timeout { get; set; } = 0;
/// <summary>
/// Verify SSL certificates
/// </summary>
public bool VerifySSLCerts { get; set; } = true;
#endregion
#region Constructors
/// <summary>
/// Create a new instance
/// </summary>
public RequestConfig()
{
Headers = new RequestHeaders
{
UserAgent = Globals.UserAgent
};
}
#endregion
}
}