# handleFetchHook / handleXhrHook See [Instrumentation hooks](./handle_console): both instrument network traffic and return a restore function.