Skip to content

Commit

Permalink
replace options
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Jan 30, 2024
1 parent c9b6e52 commit 4060f53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public function stream(iterable|ResponseInterface $responses, float $timeout = n

public function withOptions(array $options): static
{
$this->option = array_replace($this->option, $options);
$client = $this->client()->withOptions($options);
Context::set(static::class, $client);
return $this;
Expand Down

0 comments on commit 4060f53

Please # to comment.