[Modify] Edit it
This commit is contained in:
parent
4c9f443bea
commit
e536d858b0
@ -641,14 +641,26 @@ namespace WebSocketSharp
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the SSL configuration used to authenticate the server and
|
/// Gets the configuration for secure connection.
|
||||||
/// optionally the client for secure connection.
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This configuration will be referenced when a secure
|
||||||
|
/// connection is established, so you must configure it
|
||||||
|
/// before calling any connect method.
|
||||||
|
/// </remarks>
|
||||||
/// <value>
|
/// <value>
|
||||||
/// A <see cref="ClientSslConfiguration"/> that represents the configuration used
|
/// A <see cref="ClientSslConfiguration"/> that represents
|
||||||
/// to authenticate the server and optionally the client for secure connection,
|
/// the configuration used to authenticate the server and
|
||||||
/// or <see langword="null"/> if the <see cref="WebSocket"/> is used in a server.
|
/// optionally the client for secure connection.
|
||||||
/// </value>
|
/// </value>
|
||||||
|
/// <exception cref="InvalidOperationException">
|
||||||
|
/// <para>
|
||||||
|
/// This instance is not a client.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// This instance does not use a secure connection.
|
||||||
|
/// </para>
|
||||||
|
/// </exception>
|
||||||
public ClientSslConfiguration SslConfiguration {
|
public ClientSslConfiguration SslConfiguration {
|
||||||
get {
|
get {
|
||||||
if (!_client) {
|
if (!_client) {
|
||||||
|
Loading…
Reference in New Issue
Block a user