2023-12-20 19:56:16 -05:00
|
|
|
#pragma once
|
|
|
|
|
2024-02-20 21:41:37 -05:00
|
|
|
/**
|
|
|
|
** \defgroup httpd_js HTTPD Interface
|
|
|
|
** Exposes the \ref http server to script and registers a number of built-in
|
|
|
|
** endpoints.
|
|
|
|
**
|
|
|
|
** core/core.js is gradually being moved from JS to C here, at which point this will
|
|
|
|
** no longer be a bridge between the two and instead primarily expose the web API.
|
|
|
|
**
|
|
|
|
** @{
|
|
|
|
*/
|
|
|
|
|
2023-12-20 19:56:16 -05:00
|
|
|
#include "quickjs.h"
|
|
|
|
|
|
|
|
void tf_httpd_register(JSContext* context);
|
2024-02-20 21:41:37 -05:00
|
|
|
|
|
|
|
/** @} */
|