Property | Type | Description | |
---|---|---|---|
IsStarted | bool | ||
Listener |
Method | Description | |
---|---|---|
Configure ( Funq.Container container ) : void | ||
Dispose ( ) : void | ||
Init ( ) : void | ||
Start ( string urlBase ) : void |
Starts the Web Service
|
|
Stop ( ) : void |
Shut down the Web Service
|
Method | Description | |
---|---|---|
HttpListenerBase ( ) : System | ||
HttpListenerBase ( string serviceName ) : System | ||
ProcessRequest ( |
Overridable method that can be used to implement a custom hnandler
|
|
SetConfig ( EndpointHostConfig config ) : void | ||
WebRequestCallback ( IAsyncResult result ) : void |
Method | Description | |
---|---|---|
WriteException ( |
public abstract Configure ( Funq.Container container ) : void | ||
container | Funq.Container | |
return | void |
protected HttpListenerBase ( string serviceName ) : System | ||
serviceName | string | |
return | System |
protected abstract ProcessRequest ( |
||
context | ||
return | void |
protected SetConfig ( EndpointHostConfig config ) : void | ||
config | EndpointHostConfig | |
return | void |
public Start ( string urlBase ) : void | ||
urlBase | string | /// A Uri that acts as the base that the server is listening on. /// Format should be: http://127.0.0.1:8080/ or http://127.0.0.1:8080/somevirtual/ /// Note: the trailing backslash is required! For more info see the /// HttpListener.Prefixes property on MSDN. /// |
return | void |
protected WebRequestCallback ( IAsyncResult result ) : void | ||
result | IAsyncResult | |
return | void |