morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
host_vocabulary.hpp File Reference

HostVocabulary: the commands and values only the client application has (host/1, spec 6 §14), registered with their types and versions, run with checked arguments behind a trust gate, and declared to the server in ui-hello. More...

#include <cstdint>
#include <functional>
#include <map>
#include <set>
#include <stdexcept>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "bundle.hpp"
#include "interpreter.hpp"
#include "value.hpp"

Go to the source code of this file.

Classes

struct  morph::ui::HostArg
 One argument of a host command. More...
struct  morph::ui::HostCommand
 A command the application registers, such as restartApp or openPath. More...
struct  morph::ui::HostValue
 A value the application registers, such as sync.needsYouCount. More...
class  morph::ui::HostVocabulary
 The client's host vocabulary: what it registered, and whether its documents came over a verified connection. More...

Detailed Description

HostVocabulary: the commands and values only the client application has (host/1, spec 6 §14), registered with their types and versions, run with checked arguments behind a trust gate, and declared to the server in ui-hello.

Specified in docs/spec/ui/host_vocabulary.md.

Definition in file host_vocabulary.hpp.