Aria 2.0.0
C++23 MVVM framework (C++20 minimum) — reactive, coroutine-first, ABI-layered
Loading...
Searching...
No Matches
http_view.hpp File Reference

Logical "view" exposed over HTTP/REST/SSE. More...

#include "aria/abi/export.hpp"
#include "aria/binding/view_adapter.hpp"
#include <string>
#include <string_view>
#include <utility>
Include dependency graph for http_view.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  aria::adapters::http::HttpView
 Logical view exposed over HTTP. More...

Namespaces

namespace  aria
namespace  aria::adapters
namespace  aria::adapters::http

Detailed Description

Logical "view" exposed over HTTP/REST/SSE.

Unlike Qt/AppKit/UIKit views which wrap a native widget pointer, an HttpView is a logical view: it carries a stable string ID (e.g. "search_keyword", "bookshelf_results"), a kind tag matching the underlying control type ("text", "bool", "int", "click", ...), and is registered in the HttpAdapter's view registry where the adapter maintains the shadow state and routes incoming REST messages to the right place.