-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMeshConnectConfiguration.cs
More file actions
59 lines (44 loc) · 2.54 KB
/
MeshConnectConfiguration.cs
File metadata and controls
59 lines (44 loc) · 2.54 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MeshConnectConfiguration.cs" company="NHS">
// Copyright (c) NHS. All rights reserved.
// Year: 2024
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace NHS.MESH.Client.Configuration;
using NHS.MESH.Client.Contracts.Configurations;
/// <summary>The MESH connect Configurations.</summary>
public class MeshConnectConfiguration : IMeshConnectConfiguration
{
/// <summary>Gets or sets TimeoutInSeconds.</summary>
public int TimeoutInSeconds { get; set; }
/// <summary>Gets or sets MaxRetries.</summary>
public int MaxRetries { get; set; }
/// <summary>Gets or sets MeshApiBaseUrl.</summary>
public string? MeshApiBaseUrl { get; set; }
/// <summary>Gets or sets MeshApiHanshakeUriPath.</summary>
public string? MeshApiHanshakeUriPath { get; set; }
/// <summary>Gets or sets MeshApiInboxUriPath.</summary>
public string? MeshApiInboxUriPath { get; set; }
/// <summary>Gets or sets MeshApiOutboxUriPath.</summary>
public string? MeshApiOutboxUriPath { get; set; }
/// <summary>Gets or sets MeshApiSendMessageUriPath.</summary>
public string? MeshApiSendMessageUriPath { get; set; }
/// <summary>Gets or sets MeshApiListMessagesUriPath.</summary>
public string? MeshApiListMessagesUriPath { get; set; }
/// <summary>Gets or sets MeshApiGetMessageUriPath.</summary>
public string? MeshApiGetMessageUriPath { get; set; }
/// <summary>Gets or sets MeshApiAcknowledgeUriPath.</summary>
public string? MeshApiAcknowledgeUriPath { get; set; }
/// <summary>Gets or sets MeshApiTrackMessageUriPath.</summary>
public string? MeshApiTrackMessageUriPath { get; set; }
/// <summary>Gets or sets a value indicating whether proxy enabled.</summary>
public bool ProxyEnabled { get; set; }
/// <summary>Gets or sets the proxy address.</summary>
public string ProxyAddress { get; set; }
/// <summary>Gets or sets a value indicating whether proxy use default credentials.</summary>
public bool ProxyUseDefaultCredentials { get; set; }
/// <summary>Gets the chunk size in bytes for sending chunked messages 19Mb limit outside of HSCN 100Mb limit within</summary>
public int ChunkSize { get; set; }
/// <summary>Flag if the Servers Certificate is Checked against the CA Chain</summary>
public bool BypassServerCertificateValidation { get; set; }
}