modifyBeforeRetryLoop
open suspend fun modifyBeforeRetryLoop(context: ProtocolRequestInterceptorContext<Input, ProtocolRequest>): ProtocolRequest
A hook called before the retry loop is entered. This method has the ability to modify and return a new transport request.
When: This will ALWAYS be called once per execution, except when a failure occurs earlier in the request pipeline.
Error Behavior: If errors are raised by this hook, execution will jump to modifyBeforeCompletion with the raised error as the ResponseInterceptorContext.response result.