ProtocolStringJob
Use string as response to custom protocol requests.
Module | require("yue.gui") |
Type | Class |
Inherits | ProtocolJob |
Class methods
create(mimetype, content)
Create a ProtocolStringJob
with mimetype
and content
.
Parameters
string
mimetypestring
content
Return
ProtocolStringJob