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

The body of a ui-file reply: the members its op answers, the others absent. More...

#include <bundle.hpp>

Public Attributes

std::optional< std::string > upload
 begin: the upload id.
std::optional< std::size_t > received
 chunk: the bytes received so far.
std::optional< std::string > ref
 end: the file's reference.
std::optional< std::string > data
 read: the bytes, base64url without padding.
std::optional< std::size_t > total
 read: the whole file's size.
std::optional< std::string > name
 read: the file's name.
std::optional< std::string > type
 read: its media type.

Detailed Description

The body of a ui-file reply: the members its op answers, the others absent.

Definition at line 233 of file bundle.hpp.

Member Data Documentation

◆ upload

std::optional<std::string> morph::ui::FileReply::upload

begin: the upload id.

Definition at line 235 of file bundle.hpp.

◆ received

std::optional<std::size_t> morph::ui::FileReply::received

chunk: the bytes received so far.

Definition at line 237 of file bundle.hpp.

◆ ref

std::optional<std::string> morph::ui::FileReply::ref

end: the file's reference.

Definition at line 239 of file bundle.hpp.

◆ data

std::optional<std::string> morph::ui::FileReply::data

read: the bytes, base64url without padding.

Definition at line 241 of file bundle.hpp.

◆ total

std::optional<std::size_t> morph::ui::FileReply::total

read: the whole file's size.

Definition at line 243 of file bundle.hpp.

◆ name

std::optional<std::string> morph::ui::FileReply::name

read: the file's name.

Definition at line 245 of file bundle.hpp.

◆ type

std::optional<std::string> morph::ui::FileReply::type

read: its media type.

Definition at line 247 of file bundle.hpp.


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