C# Class Posh.WebServer

Description of SVGTerminalServer.
Show file Open project: vvvv/Posh

Public Properties

Property Type Description
OpenURL Action
TerminalPath string
URLPort int>.Dictionary
UnknownURL Action

Public Methods

Method Description
AddURL ( string url ) : string
AddURL ( string url, int port ) : string
ListenerCallback ( HttpListenerContext context ) : void
RemoveURL ( string url ) : void
RenameURL ( string from, string to ) : string
Stop ( ) : void

Private Methods

Method Description
ContextReady ( IAsyncResult ar ) : void
GetLocalIP ( ) : string
HandleRequests ( ) : void
IsAdministrator ( ) : bool
IsLocalHost ( string ip ) : bool
WebServer ( ) : System
Worker ( ) : void

Method Details

AddURL() public static method

public static AddURL ( string url ) : string
url string
return string

AddURL() public static method

public static AddURL ( string url, int port ) : string
url string
port int
return string

ListenerCallback() public static method

public static ListenerCallback ( HttpListenerContext context ) : void
context System.Net.HttpListenerContext
return void

RemoveURL() public static method

public static RemoveURL ( string url ) : void
url string
return void

RenameURL() public static method

public static RenameURL ( string from, string to ) : string
from string
to string
return string

Stop() public static method

public static Stop ( ) : void
return void

Property Details

OpenURL public static property

public static Action OpenURL
return Action

TerminalPath public static property

public static string TerminalPath
return string

URLPort public static property

public static Dictionary URLPort
return int>.Dictionary

UnknownURL public static property

public static Action UnknownURL
return Action