C# Class System.Net.Security.Tests.HttpsTestServer

ファイルを表示 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
HttpsTestServer ( X509Certificate serverCertificate, SslProtocols acceptedProtocols = SslProtocols.Tls ) : System.IO
RunTest ( ) : System.Threading.Tasks.Task
StartServer ( ) : void

Starts the server.

Private Methods

Method Description
HttpConversation ( SslStream tls ) : Task

Method Details

HttpsTestServer() public method

public HttpsTestServer ( X509Certificate serverCertificate, SslProtocols acceptedProtocols = SslProtocols.Tls ) : System.IO
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
acceptedProtocols SslProtocols
return System.IO

RunTest() public method

public RunTest ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

StartServer() public method

Starts the server.
public StartServer ( ) : void
return void