ProtocolStringJob
Use string as response to custom protocol requests.
Header | #include "nativeui/protocol_job.h" |
Namespace | namespace nu |
Type | class (RefCounted) |
Inherits | ProtocolJob |
Constructors
ProtocolStringJob(const std::string& mimetype, const std::string& content)
Create a ProtocolStringJob
with mimetype
and content
.
Parameters
const std::string&
mimetypeconst std::string&
content