InterfaceIClientTlsConnectionProvider
Interface
Defines a custom client TLS provider for Fiddler. The provider will be used to authenticate an existing connection and return a stream to read/write data from/to it.
Definition
Namespace:Fiddler
Assembly:FiddlerCore.dll
Syntax:
cs-api-definition
public interface IClientTlsConnectionProvider
Methods
AuthenticateAsync(Stream, SslClientAuthenticationOptions)
Performs a TLS handshake acting as a client on the supplied stream with authentication options.
Declaration
cs-api-definition
Task<TlsConnection> AuthenticateAsync(Stream stream, SslClientAuthenticationOptions opts)
Parameters
stream
The existing network stream to secure.
opts
SslClientAuthenticationOptions
The TLS authentication options including target host and ALPN protocols.
Returns
A TlsConnection representing the secured connection.