skip to content
==> include/mesh/top_ui_http.h <==
1/* @ajax/mesh-top-ui-http: mesh-top's HTTP tab (crates/mesh-top src/ui.rs, "6 http"): what the GPU
2 * served and meshd relayed, a curl line for the machine's bound HTTP address, the path input and
3 * the last response, wrapped and scrollable. */
4#ifndef MESH_TOP_UI_HTTP_H
5#define MESH_TOP_UI_HTTP_H
6
7#include "mesh/top_ui_kit.h"
8
9/* Where to curl this machine: meshd's bound HTTP address, an unspecified IP replaced by the
10 * endpoint's host; without a snapshot, the endpoint's host and the default HTTP port. */
11const char *mt_http_target(mt_frame *f, const mt_machine *m);
12void mt_draw_http(mt_frame *f, tui_rect area, const mt_app *app);
13
14#endif