Property | Type | Description | |
---|---|---|---|
HTTPDRunning | bool | ||
OnOverrideRequest | Action |
Property | Type | Description | |
---|---|---|---|
NotSocketErrors | int | ||
m_hostName | string | ||
m_internalServer | |||
m_isSecure | bool | ||
m_listenIPAddress | |||
m_pollHandlers | PollServiceEventArgs>.Dictionary | ||
m_port | uint | ||
m_rpcHandlers | XmlRpcMethod>.Dictionary | ||
m_streamHandlers | IStreamedRequestHandler>.Dictionary |
Property | Type | Description | |
---|---|---|---|
GetHTTP404 | string | ||
GetHTTP500 | string | ||
GetHandlerKey | string | ||
HandleXmlRpcRequests | byte[] | ||
OnRequest | void | ||
TryGetPollServiceHTTPHandler | bool | ||
TryGetStreamHandler | bool | ||
getDefaultHTTP404 | string | ||
getDefaultHTTP500 | string |
Method | Description | |
---|---|---|
AddPollServiceHTTPHandler ( string methodName, |
||
AddStreamHandler ( IStreamedRequestHandler handler ) : void |
Add a stream handler to the http server. If the handler already exists, then nothing happens.
|
|
AddXmlRPCHandler ( string method, XmlRpcMethod handler ) : bool | ||
BaseHttpServer ( uint port, string hostName, bool isSecure, uint threadCount ) : System | ||
Dispose ( ) : void | ||
GetHTML404 ( |
||
GetHTML500 ( |
||
GetXmlRPCHandler ( string method ) : XmlRpcMethod | ||
HandleRequest ( |
This methods is the start of incoming HTTP request handling.
|
|
RemovePollServiceHTTPHandler ( string httpMethod, string path ) : void | ||
RemoveStreamHandler ( string httpMethod, string path ) : void | ||
RemoveXmlRPCHandler ( string method ) : void | ||
Start ( ) : void | ||
Stop ( ) : void |
Method | Description | |
---|---|---|
GetHTTP404 ( ) : string | ||
GetHTTP500 ( ) : string | ||
GetHandlerKey ( string httpMethod, string path ) : string | ||
HandleXmlRpcRequests ( |
Try all the registered xmlrpc handlers when an xmlrpc request is received. Sends back an XMLRPC unknown request response if no handler is registered for the requested method.
|
|
OnRequest ( |
||
TryGetPollServiceHTTPHandler ( string handlerKey, |
||
TryGetStreamHandler ( string handlerKey, IStreamedRequestHandler &streamHandler ) : bool | ||
getDefaultHTTP404 ( ) : string | ||
getDefaultHTTP500 ( ) : string |
public AddPollServiceHTTPHandler ( string methodName, |
||
methodName | string | |
args | ||
return | bool |
public AddStreamHandler ( IStreamedRequestHandler handler ) : void | ||
handler | IStreamedRequestHandler | |
return | void |
public AddXmlRPCHandler ( string method, XmlRpcMethod handler ) : bool | ||
method | string | |
handler | XmlRpcMethod | |
return | bool |
public BaseHttpServer ( uint port, string hostName, bool isSecure, uint threadCount ) : System | ||
port | uint | |
hostName | string | |
isSecure | bool | |
threadCount | uint | |
return | System |
public GetHTML404 ( |
||
response | ||
return | byte[] |
public GetHTML500 ( |
||
response | ||
return | byte[] |
public GetXmlRPCHandler ( string method ) : XmlRpcMethod | ||
method | string | |
return | XmlRpcMethod |
public HandleRequest ( |
||
context | ||
return | void |
public RemovePollServiceHTTPHandler ( string httpMethod, string path ) : void | ||
httpMethod | string | |
path | string | |
return | void |
public RemoveStreamHandler ( string httpMethod, string path ) : void | ||
httpMethod | string | |
path | string | |
return | void |
public RemoveXmlRPCHandler ( string method ) : void | ||
method | string | |
return | void |
protected HttpListenerManager,Universe.Framework.Servers.HttpServer m_internalServer | ||
return |
protected IPAddress,System.Net m_listenIPAddress | ||
return |
protected Dictionary |
||
return | PollServiceEventArgs>.Dictionary |