#include <mcp_http_server.h>
|
| void | run () |
| |
| ClientContext & | client (struct lws *) |
| |
| void | erase_client (struct lws *) |
| |
| int | callback (struct lws *, enum lws_callback_reasons, void *, void *, size_t) |
| |
| int | handle_http (struct lws *, ClientContext &) |
| |
| int | handle_http_body (struct lws *, ClientContext &, void *, size_t) |
| |
| int | handle_http_body_completion (struct lws *, ClientContext &) |
| |
| int | handle_http_writeable (struct lws *, ClientContext &) |
| |
| int | send_json_headers (struct lws *) |
| |
| int | send_http_status (struct lws *, unsigned int) |
| |
| int | write_json_response (struct lws *, ClientContext &) |
| |
| std::string | dispatch_jsonrpc (const std::string &) const |
| |
|
| static int | lws_callback (struct lws *, enum lws_callback_reasons, void *, void *, size_t) |
| |
Definition at line 43 of file mcp_http_server.h.
◆ ClientMap
◆ MCPHttpServer()
◆ ~MCPHttpServer()
| ArdourSurface::MCPHttpServer::~MCPHttpServer |
( |
| ) |
|
◆ callback()
| int ArdourSurface::MCPHttpServer::callback |
( |
struct lws * |
, |
|
|
enum |
lws_callback_reasons, |
|
|
void * |
, |
|
|
void * |
, |
|
|
size_t |
|
|
) |
| |
|
private |
◆ client()
| ClientContext& ArdourSurface::MCPHttpServer::client |
( |
struct lws * |
| ) |
|
|
private |
◆ debug_level()
| int ArdourSurface::MCPHttpServer::debug_level |
( |
| ) |
const |
◆ dispatch_jsonrpc()
| std::string ArdourSurface::MCPHttpServer::dispatch_jsonrpc |
( |
const std::string & |
| ) |
const |
|
private |
◆ erase_client()
| void ArdourSurface::MCPHttpServer::erase_client |
( |
struct lws * |
| ) |
|
|
private |
◆ handle_http()
| int ArdourSurface::MCPHttpServer::handle_http |
( |
struct lws * |
, |
|
|
ClientContext & |
|
|
) |
| |
|
private |
◆ handle_http_body()
| int ArdourSurface::MCPHttpServer::handle_http_body |
( |
struct lws * |
, |
|
|
ClientContext & |
, |
|
|
void * |
, |
|
|
size_t |
|
|
) |
| |
|
private |
◆ handle_http_body_completion()
| int ArdourSurface::MCPHttpServer::handle_http_body_completion |
( |
struct lws * |
, |
|
|
ClientContext & |
|
|
) |
| |
|
private |
◆ handle_http_writeable()
| int ArdourSurface::MCPHttpServer::handle_http_writeable |
( |
struct lws * |
, |
|
|
ClientContext & |
|
|
) |
| |
|
private |
◆ lws_callback()
| static int ArdourSurface::MCPHttpServer::lws_callback |
( |
struct lws * |
, |
|
|
enum |
lws_callback_reasons, |
|
|
void * |
, |
|
|
void * |
, |
|
|
size_t |
|
|
) |
| |
|
staticprivate |
◆ run()
| void ArdourSurface::MCPHttpServer::run |
( |
| ) |
|
|
private |
◆ send_http_status()
| int ArdourSurface::MCPHttpServer::send_http_status |
( |
struct lws * |
, |
|
|
unsigned int |
|
|
) |
| |
|
private |
◆ send_json_headers()
| int ArdourSurface::MCPHttpServer::send_json_headers |
( |
struct lws * |
| ) |
|
|
private |
◆ set_debug_level()
| void ArdourSurface::MCPHttpServer::set_debug_level |
( |
int |
| ) |
|
◆ start()
| int ArdourSurface::MCPHttpServer::start |
( |
| ) |
|
◆ stop()
| int ArdourSurface::MCPHttpServer::stop |
( |
| ) |
|
◆ write_json_response()
| int ArdourSurface::MCPHttpServer::write_json_response |
( |
struct lws * |
, |
|
|
ClientContext & |
|
|
) |
| |
|
private |
◆ _clients
| ClientMap ArdourSurface::MCPHttpServer::_clients |
|
private |
◆ _context
| struct lws_context* ArdourSurface::MCPHttpServer::_context |
|
private |
◆ _debug_level
| std::atomic<int> ArdourSurface::MCPHttpServer::_debug_level |
|
private |
◆ _event_loop
◆ _info
| struct lws_context_creation_info ArdourSurface::MCPHttpServer::_info |
|
private |
◆ _port
| uint16_t ArdourSurface::MCPHttpServer::_port |
|
private |
◆ _protocols
| struct lws_protocols ArdourSurface::MCPHttpServer::_protocols[2] |
|
private |
◆ _running
| bool ArdourSurface::MCPHttpServer::_running |
|
private |
◆ _service_thread
| std::thread ArdourSurface::MCPHttpServer::_service_thread |
|
private |
◆ _session
The documentation for this class was generated from the following file: