Skip to content

Commit 215481e

Browse files
committed
Add a new ConnectionParameters Property: Ssl
The default value of the Ssl Property has the SslOption enabled flag turned off.
1 parent 76e69c9 commit 215481e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/client/api/ConnectionParameters.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public class ConnectionParameters : ICloneable
8989
private ushort m_requestedChannelMax = DefaultChannelMax;
9090
private uint m_requestedFrameMax = DefaultFrameMax;
9191
private ushort m_requestedHeartbeat = DefaultHeartbeat;
92+
private SslOption m_ssl = new SslOption();
9293

9394
///<summary>Construct a fresh instance, with all fields set to
9495
///their respective defaults.</summary>
@@ -136,6 +137,13 @@ public ushort RequestedHeartbeat
136137
set { m_requestedHeartbeat = value; }
137138
}
138139

140+
///<summary>Ssl options setting</summary>
141+
public SslOption Ssl
142+
{
143+
get { return m_ssl; }
144+
set { m_ssl = value; }
145+
}
146+
139147
///<summary>Implement ICloneable.Clone by delegating to our type-safe variant.</summary>
140148
object ICloneable.Clone()
141149
{

0 commit comments

Comments
 (0)