fn obtain_response_setup_router_callback(
devtools_bytes: Arc<Mutex<Vec<u8>>>,
chunk_requester: Arc<Mutex<Option<IpcSender<BodyChunkRequest>>>>,
sink: BodySink,
fetch_terminated: UnboundedSender<bool>,
) -> Result<(), NetworkError>Expand description
Setup the callback mechanism to forward chunks from the request received to the chunk_requester.