| Check if a network address is allowed
| to access the HTTP server
|
| Return evhttp event base. This can be
| used by submodules to queue timers or
| custom events.
|
| Bind HTTP server to specified addresses
|
| Callback to reject HTTP requests after
| shutdown.
|
| HTTP request callback
|
| Simple wrapper to set thread name and
| run work queue
|
| Initialize ACL list for HTTP server
|
| Initialize HTTP server.
|
| Call this before RegisterHTTPHandler
| or libevent_sys::event_base().
|
| Interrupt HTTP RPC subsystem.
|
| Interrupt HTTP server threads
|
| Interrupt RPC REST subsystem.
|
| libevent event log callback
|
| This function checks username and password
| against -rpcauth entries from config file.
| Register handler for prefix.
|
| If multiple handlers match a prefix,
| the first-registered one will be invoked.
|
| HTTP request method as string - use for
| logging only
|
| Start HTTP server.
|
| This is separate from InitHTTPServer
| to give users race-condition-free
| time to register their handlers between
| InitHTTPServer and StartHTTPServer.
|
| Start HTTP RPC subsystem.
|
| Precondition; HTTP and RPC has been
| started.
|
| Start HTTP REST subsystem.
|
| Precondition; HTTP and RPC has been
| started.
|
| Stop HTTP server
|
| Stop HTTP RPC subsystem.
|
| Precondition; HTTP and RPC has been
| stopped.
|
| Stop HTTP REST subsystem.
|
| Precondition; HTTP and RPC has been
| stopped.
|
| libevent_sys::event dispatcher thread
|
| Unregister handler for prefix
|
| Change logging level for libevent.
| Removes BCLog::LIBEVENT from log categories
| if libevent doesn’t support debug logging.
|