C# Class Kamsar.WebConsole.RemoteWebConsole

A WebConsole "API" that sends the raw console command scripts only. The RemoteWebConsoleReceiver is a type of console specialized to receive these remote scripts. You can use this to "syndicate" a console's output from a remote service into another application.
Inheritance: WebConsole
Mostra file Open project: kamsar/Kamsar.WebConsole

Public Methods

Method Description
RemoteWebConsole ( HttpResponse response ) : System.Web
RemoteWebConsole ( System.Web.HttpResponseBase response ) : System.Web
WriteRemoteSignal ( string signalContent ) : void

Sends a "signal" to the console receiver. Signals are stored in a collection and can be reviewed. For example a signal to perform a redirect might be used for when a process succeeds or fails.

WriteScript ( string script ) : void

Method Details

RemoteWebConsole() public method

public RemoteWebConsole ( HttpResponse response ) : System.Web
response System.Web.HttpResponse
return System.Web

RemoteWebConsole() public method

public RemoteWebConsole ( System.Web.HttpResponseBase response ) : System.Web
response System.Web.HttpResponseBase
return System.Web

WriteRemoteSignal() public method

Sends a "signal" to the console receiver. Signals are stored in a collection and can be reviewed. For example a signal to perform a redirect might be used for when a process succeeds or fails.
public WriteRemoteSignal ( string signalContent ) : void
signalContent string
return void

WriteScript() public method

public WriteScript ( string script ) : void
script string
return void