morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::HelloRequest Struct Reference

The body of a ui-hello request: what the client speaks and carries. More...

#include <bundle.hpp>

Public Attributes

std::vector< std::string > vocabularies
 The vocabularies the client speaks, such as ui/1, expr/1, forms/1, ui-theme/1, files/1.
std::string qt
 The client's Qt version; empty for a client without Qt.
bool components = false
 Whether the client loads delivered custom components.
std::map< std::string, std::int64_t, std::less<> > hostComponents
 The host components the client has, by name, with their versions.
std::map< std::string, std::int64_t, std::less<> > hostCommands
 The host commands the client has, by name, with their versions.
std::map< std::string, std::int64_t, std::less<> > hostValues
 The host values the client has, by name, with their versions.
bool events = false
 Whether the client offers to take server-sent event envelopes on this connection.

Detailed Description

The body of a ui-hello request: what the client speaks and carries.

Definition at line 164 of file bundle.hpp.

Member Data Documentation

◆ vocabularies

std::vector<std::string> morph::ui::HelloRequest::vocabularies

The vocabularies the client speaks, such as ui/1, expr/1, forms/1, ui-theme/1, files/1.

Definition at line 166 of file bundle.hpp.

◆ qt

std::string morph::ui::HelloRequest::qt

The client's Qt version; empty for a client without Qt.

Definition at line 168 of file bundle.hpp.

◆ components

bool morph::ui::HelloRequest::components = false

Whether the client loads delivered custom components.

Definition at line 170 of file bundle.hpp.

◆ hostComponents

std::map<std::string, std::int64_t, std::less<> > morph::ui::HelloRequest::hostComponents

The host components the client has, by name, with their versions.

Definition at line 172 of file bundle.hpp.

◆ hostCommands

std::map<std::string, std::int64_t, std::less<> > morph::ui::HelloRequest::hostCommands

The host commands the client has, by name, with their versions.

Definition at line 174 of file bundle.hpp.

◆ hostValues

std::map<std::string, std::int64_t, std::less<> > morph::ui::HelloRequest::hostValues

The host values the client has, by name, with their versions.

Definition at line 176 of file bundle.hpp.

◆ events

bool morph::ui::HelloRequest::events = false

Whether the client offers to take server-sent event envelopes on this connection.

Definition at line 178 of file bundle.hpp.


The documentation for this struct was generated from the following file: