A hook that is called before the SDK creates a Request object. The hook
can modify how a request is constructed since certain modifications, like
changing the request URL, cannot be done on a request object directly.
A hook that is called before the SDK sends a request. The hook can
introduce instrumentation code such as logging, tracing and metrics or
replace the request before it is sent or throw an error to stop the
request from being sent.
A hook that is called before the SDK creates a
Requestobject. The hook can modify how a request is constructed since certain modifications, like changing the request URL, cannot be done on a request object directly.