Currently, signature for a protocol handler is function (request, callback) where callback is a function that takes on argument, the response body.

Is it possible to support a streaming response? I'm interested on this for the IPFS integration so that I can stream large files from the network.
Getting chrome.protocol.registerStreamProtocol available would really help.
I'm working on porting registerStreamProtocol from electron to muon.
I've ported https://github.com/electron/electron/pull/11008 and tracked down the dependent changes and tweaks to get muon compilable again. I'm now figuring out how send the stream over ipc from the render to the main process. I'll tidy it up and raise a PR later today.
PR for discussion here: https://github.com/brave/muon/pull/507
Most helpful comment
Getting
chrome.protocol.registerStreamProtocolavailable would really help.