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:
parent
3866c88aef
commit
ade8f285d0
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue