40
40
41
41
using System ;
42
42
using System . Collections . Generic ;
43
- using System . Security . Authentication ;
44
43
using System . Text . RegularExpressions ;
45
44
46
45
namespace RabbitMQ . Client
@@ -63,7 +62,6 @@ public class AmqpTcpEndpoint// : ICloneable
63
62
/// </summary>
64
63
public const int DefaultAmqpSslPort = 5671 ;
65
64
66
-
67
65
/// <summary>
68
66
/// Indicates that the default port for the protocol should be used.
69
67
/// </summary>
@@ -140,11 +138,6 @@ public AmqpTcpEndpoint CloneWithHostname(string hostname)
140
138
return new AmqpTcpEndpoint ( hostname , _port , Ssl ) ;
141
139
}
142
140
143
- /// <summary>
144
- /// The default Amqp SSL protocols.
145
- /// </summary>
146
- public static SslProtocols DefaultAmqpSslProtocols { get ; set ; } = SslProtocols . Tls | SslProtocols . Tls11 | SslProtocols . Tls12 ;
147
-
148
141
/// <summary>
149
142
/// Retrieve or set the hostname of this <see cref="AmqpTcpEndpoint"/>.
150
143
/// </summary>
@@ -181,7 +174,7 @@ public IProtocol Protocol
181
174
/// <summary>
182
175
/// Used to force the address family of the endpoint
183
176
/// </summary>
184
- public System . Net . Sockets . AddressFamily AddressFamily { get ; set ; }
177
+ public System . Net . Sockets . AddressFamily AddressFamily { get ; set ; }
185
178
186
179
/// <summary>
187
180
/// Retrieve the SSL options for this AmqpTcpEndpoint. If not set, null is returned.
@@ -235,7 +228,7 @@ public static AmqpTcpEndpoint Parse(string address)
235
228
/// </remarks>
236
229
public static AmqpTcpEndpoint [ ] ParseMultiple ( string addresses )
237
230
{
238
- string [ ] partsArr = addresses . Split ( new [ ] { ',' } ) ;
231
+ string [ ] partsArr = addresses . Split ( new [ ] { ',' } ) ;
239
232
var results = new List < AmqpTcpEndpoint > ( ) ;
240
233
foreach ( string partRaw in partsArr )
241
234
{
0 commit comments