mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Update mime-typed-buffer.md (#23384)
I think this should be aligned with `StringProtocolResponse`. At least the `charset` was missing from the docs. https://www.electronjs.org/docs/api/protocol#protocolregisterbufferprotocolscheme-handler-completion > should be called with either a Buffer object or an object that has the data, mimeType, and charset properties.
This commit is contained in:
committed by
GitHub
parent
3866c88aef
commit
ade8f285d0
@@ -1,4 +1,5 @@
|
||||
# MimeTypedBuffer Object
|
||||
|
||||
* `mimeType` String - The mimeType of the Buffer that you are sending.
|
||||
* `mimeType` String (optional) - MIME type of the buffer.
|
||||
* `charset` String (optional) - Charset of the buffer.
|
||||
* `data` Buffer - The actual Buffer content.
|
||||
|
||||
Reference in New Issue
Block a user