ProtocolStringJob

Use string as response to custom protocol requests.

Header#include "nativeui/protocol_job.h"
Namespacenamespace nu
Typeclass (RefCounted)
InheritsProtocolJob

Constructors

ProtocolStringJob(const std::string& mimetype, const std::string& content)

Create a ProtocolStringJob with mimetype and content.

Parameters