buffer::save
Request to save the buffer.
{
"method": "buffer::save",
"file": <path>,
"contents": <string>,
}
file
is the target filename you want to save.contents
is the entire buffer string.
Example response
{
"method": "buffer::save",
"file": <path>,
"contents": <string>,
"status": "success",
}
The client will save the buffer in the view (if it exits). Otherwise, it will write the file to the local storage.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.