|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
The body of a ui-file request: one step of an upload or a download, named by op. More...
#include <bundle.hpp>
Public Attributes | |
| std::string | op |
| begin, chunk, end or read. | |
| std::string | name |
| begin: the file's name. | |
| std::string | type |
| begin: its media type. | |
| std::size_t | size = 0 |
| begin: its size in bytes. | |
| std::string | model |
| begin: the model type of the mutation that will reference the file. | |
| std::string | action |
| begin: that mutation's action. | |
| std::string | upload |
| chunk, end: the upload id begin answered. | |
| std::size_t | offset = 0 |
| chunk, read: the first byte. | |
| std::string | data |
| chunk: the bytes, base64url without padding. | |
| std::string | ref |
| read: the file's reference. | |
| std::size_t | length = kMaxFileChunkBytes |
| read: at most this many bytes; capped at kMaxFileChunkBytes. | |
The body of a ui-file request: one step of an upload or a download, named by op.
Definition at line 207 of file bundle.hpp.
| std::string morph::ui::FileRequest::op |
begin, chunk, end or read.
Definition at line 209 of file bundle.hpp.
| std::string morph::ui::FileRequest::name |
begin: the file's name.
Definition at line 211 of file bundle.hpp.
| std::string morph::ui::FileRequest::type |
begin: its media type.
Definition at line 213 of file bundle.hpp.
| std::size_t morph::ui::FileRequest::size = 0 |
begin: its size in bytes.
Definition at line 215 of file bundle.hpp.
| std::string morph::ui::FileRequest::model |
begin: the model type of the mutation that will reference the file.
Definition at line 217 of file bundle.hpp.
| std::string morph::ui::FileRequest::action |
begin: that mutation's action.
Definition at line 219 of file bundle.hpp.
| std::string morph::ui::FileRequest::upload |
chunk, end: the upload id begin answered.
Definition at line 221 of file bundle.hpp.
| std::size_t morph::ui::FileRequest::offset = 0 |
chunk, read: the first byte.
Definition at line 223 of file bundle.hpp.
| std::string morph::ui::FileRequest::data |
chunk: the bytes, base64url without padding.
Definition at line 225 of file bundle.hpp.
| std::string morph::ui::FileRequest::ref |
read: the file's reference.
Definition at line 227 of file bundle.hpp.
| std::size_t morph::ui::FileRequest::length = kMaxFileChunkBytes |
read: at most this many bytes; capped at kMaxFileChunkBytes.
Definition at line 229 of file bundle.hpp.