I figured out that the inactivity timeout was not present in the default interceptor in charge of updating the timeouts.
Of course it's not a big deal and here is a workaround:
$this->httpClient = (new HttpClientBuilder)
->interceptNetwork(
new ModifyRequest(static function (Request $request) {
$request->setInactivityTimeout(500);
return $request;
})
)
->build();
But I decided maybe it's a good first contribution here 😄 . I also updated a bit the documentation because it was missing in the interceptor list! However, I'm sorry I don't know how to fix the test.
I figured out that the inactivity timeout was not present in the default interceptor in charge of updating the timeouts.
Of course it's not a big deal and here is a workaround:
But I decided maybe it's a good first contribution here 😄 . I also updated a bit the documentation because it was missing in the interceptor list! However, I'm sorry I don't know how to fix the test.