|
void | start (List< string > listen_URLs, Dictionary< string, string > authorized_users=null, List< string > allowed_IPs=null) |
|
void | stop () |
|
void | sendResponse (HttpListenerResponse responseObject, JsonResponse response) |
|
void | sendResponse (HttpListenerResponse responseObject, byte[] buffer) |
|
|
virtual void | onUpdate (HttpListenerContext context) |
|
virtual bool | processGenericRequest (HttpListenerContext context, string methodName, Dictionary< string, object > parameters) |
|
virtual bool | processRequest (HttpListenerContext context, string methodName, Dictionary< string, object > parameters) |
|
bool | isAuthorized (HttpListenerContext context) |
|
void | apiLoop () |
|
void | sendError (HttpListenerContext context, string errorString) |
|
void | sendResponse (HttpListenerResponse responseObject, string responseString) |
|
void | onResources (HttpListenerContext context) |
|
void | sendWallet (HttpListenerContext context) |
|
Definition at line 77 of file GenericAPIServer.cs.
◆ apiLoop()
void IXICore.GenericAPIServer.apiLoop |
( |
| ) |
|
|
protected |
◆ isAuthorized()
bool IXICore.GenericAPIServer.isAuthorized |
( |
HttpListenerContext |
context | ) |
|
|
protected |
◆ onResources()
void IXICore.GenericAPIServer.onResources |
( |
HttpListenerContext |
context | ) |
|
|
protected |
◆ onUpdate()
virtual void IXICore.GenericAPIServer.onUpdate |
( |
HttpListenerContext |
context | ) |
|
|
protectedvirtual |
◆ processGenericRequest()
virtual bool IXICore.GenericAPIServer.processGenericRequest |
( |
HttpListenerContext |
context, |
|
|
string |
methodName, |
|
|
Dictionary< string, object > |
parameters |
|
) |
| |
|
protectedvirtual |
◆ processRequest()
virtual bool IXICore.GenericAPIServer.processRequest |
( |
HttpListenerContext |
context, |
|
|
string |
methodName, |
|
|
Dictionary< string, object > |
parameters |
|
) |
| |
|
protectedvirtual |
◆ sendError()
void IXICore.GenericAPIServer.sendError |
( |
HttpListenerContext |
context, |
|
|
string |
errorString |
|
) |
| |
|
protected |
◆ sendResponse() [1/3]
void IXICore.GenericAPIServer.sendResponse |
( |
HttpListenerResponse |
responseObject, |
|
|
string |
responseString |
|
) |
| |
|
protected |
◆ sendResponse() [2/3]
void IXICore.GenericAPIServer.sendResponse |
( |
HttpListenerResponse |
responseObject, |
|
|
JsonResponse |
response |
|
) |
| |
◆ sendResponse() [3/3]
void IXICore.GenericAPIServer.sendResponse |
( |
HttpListenerResponse |
responseObject, |
|
|
byte [] |
buffer |
|
) |
| |
◆ sendWallet()
void IXICore.GenericAPIServer.sendWallet |
( |
HttpListenerContext |
context | ) |
|
|
protected |
◆ start()
void IXICore.GenericAPIServer.start |
( |
List< string > |
listen_URLs, |
|
|
Dictionary< string, string > |
authorized_users = null , |
|
|
List< string > |
allowed_IPs = null |
|
) |
| |
◆ stop()
void IXICore.GenericAPIServer.stop |
( |
| ) |
|
◆ allowedIPs
List<string> IXICore.GenericAPIServer.allowedIPs |
|
protected |
◆ apiControllerThread
Thread IXICore.GenericAPIServer.apiControllerThread |
|
protected |
◆ authorizedUsers
Dictionary<string, string> IXICore.GenericAPIServer.authorizedUsers |
|
protected |
◆ continueRunning
bool IXICore.GenericAPIServer.continueRunning |
|
protected |
◆ listener
HttpListener IXICore.GenericAPIServer.listener |
|
protected |
◆ listenURLs
List<string> IXICore.GenericAPIServer.listenURLs |
|
protected |
◆ TLC
The documentation for this class was generated from the following file: