mirror of
https://github.com/electron/electron.git
synced 2026-01-27 16:28:23 -05:00
These new functions are more flexible than the other
{intercept,register}*ProtocoProtocol functions, since it allows the user to
return a node.js stream to feed the data to the protocol handler.
It also allows the user to specify a response header dictionary, which makes it
possible to correctly intercept any request made from renderers.
9.1 KiB
9.1 KiB