C# Class Microsoft.R.Host.Client.BrokerServices.WebServer

Exibir arquivo Open project: Microsoft/RTVS Class Usage Examples

Private Properties

Property Type Description
DoWorkAsync Task
StopAsync Task
WebServer System

Public Methods

Method Description
CreateWebServerAsync ( string remoteUrl, string baseAddress, string name, ICoreServices services, IConsole console, CancellationToken ct = default(CancellationToken) ) : Task
InitializeAsync ( CancellationToken ct ) : Task
StopAllAsync ( ) : Task
StopAsync ( int port ) : Task

Private Methods

Method Description
DoWorkAsync ( CancellationToken ct = default(CancellationToken) ) : Task
StopAsync ( ) : Task
WebServer ( string remoteHostIp, int remotePort, string baseAddress, string name, ICoreServices services, IConsole console ) : System

Method Details

CreateWebServerAsync() public static method

public static CreateWebServerAsync ( string remoteUrl, string baseAddress, string name, ICoreServices services, IConsole console, CancellationToken ct = default(CancellationToken) ) : Task
remoteUrl string
baseAddress string
name string
services ICoreServices
console IConsole
ct System.Threading.CancellationToken
return Task

InitializeAsync() public method

public InitializeAsync ( CancellationToken ct ) : Task
ct System.Threading.CancellationToken
return Task

StopAllAsync() public static method

public static StopAllAsync ( ) : Task
return Task

StopAsync() public static method

public static StopAsync ( int port ) : Task
port int
return Task