Table of Contents

Interface ISslStreamFactory

Namespace
Apache.Ignite
Assembly
Apache.Ignite.dll

SSL Stream Factory defines how SSL connection is established.

See SslStreamFactory, SslStreamFactory.
public interface ISslStreamFactory

Methods

CreateAsync(Stream, string, CancellationToken)

Creates the SSL stream.

Task<SslStream?> CreateAsync(Stream stream, string targetHost, CancellationToken cancellationToken)

Parameters

stream Stream

The underlying raw stream.

targetHost string

Target host.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<SslStream>

SSL stream, or null if SSL is not enabled.