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

What a RemoteServer knows about one connection that a service, not core, decides: handed to IEnvelopeService::handle with each envelope. More...

#include <remote.hpp>

Public Attributes

bool events = false
 Whether the connection negotiated server-sent events: its ui-hello offered them and the UI service accepted.

Detailed Description

What a RemoteServer knows about one connection that a service, not core, decides: handed to IEnvelopeService::handle with each envelope.

A service sets a fact while answering an envelope it serves, and core reads it later without parsing that service's bodies. The facts live as long as the connection; a message handled without a connection (cid 0) is handed fresh facts that are dropped after its reply.

Definition at line 216 of file remote.hpp.

Member Data Documentation

◆ events

bool morph::backend::ConnectionFacts::events = false

Whether the connection negotiated server-sent events: its ui-hello offered them and the UI service accepted.

Definition at line 219 of file remote.hpp.


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