프로퍼티 | 타입 | 설명 | |
---|---|---|---|
HTTPDRunning | bool | ||
OnOverrideRequest | Action |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
GetHTTP404 | string | ||
GetHTTP500 | string | ||
GetHandlerKey | string | ||
HandleXmlRpcRequests | byte[] | ||
OnRequest | void | ||
TryGetPollServiceHTTPHandler | bool | ||
TryGetStreamHandler | bool | ||
getDefaultHTTP404 | string | ||
getDefaultHTTP500 | string |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | bool |
public AddStreamHandler ( IStreamedRequestHandler handler ) : void | ||
handler | IStreamedRequestHandler | |
리턴 | void |
public AddXmlRPCHandler ( string method, XmlRpcMethod handler ) : bool | ||
method | string | |
handler | XmlRpcMethod | |
리턴 | bool |
public BaseHttpServer ( uint port, string hostName, bool isSecure, uint threadCount ) : System | ||
port | uint | |
hostName | string | |
isSecure | bool | |
threadCount | uint | |
리턴 | System |
public GetHTML404 ( |
||
response | ||
리턴 | byte[] |
public GetHTML500 ( |
||
response | ||
리턴 | byte[] |
public GetXmlRPCHandler ( string method ) : XmlRpcMethod | ||
method | string | |
리턴 | XmlRpcMethod |
public HandleRequest ( |
||
context | ||
리턴 | void |
public RemovePollServiceHTTPHandler ( string httpMethod, string path ) : void | ||
httpMethod | string | |
path | string | |
리턴 | void |
public RemoveStreamHandler ( string httpMethod, string path ) : void | ||
httpMethod | string | |
path | string | |
리턴 | void |
public RemoveXmlRPCHandler ( string method ) : void | ||
method | string | |
리턴 | void |
protected HttpListenerManager,Universe.Framework.Servers.HttpServer m_internalServer | ||
리턴 |
protected IPAddress,System.Net m_listenIPAddress | ||
리턴 |