Skip to content

Document the HTTP dispatcher (4.6.2) - #590

Merged
Vitorinox merged 2 commits into
masterfrom
docs/dispatcher-445
Nov 6, 2026
Merged

Vitorinox merged 2 commits into
masterfrom
docs/dispatcher-445

Conversation

@Vitorinox

Copy link
Copy Markdown
Collaborator

Fixes #445

Adds an HTTP layer section to the README (under Extending Embed):

  • How Crawler, CurlClient and CurlDispatcher fit together, and why CurlDispatcher is final and not configurable with raw CURLOPT_* options in v4.
  • A table mapping each v3 CURLOPT_* option to its v4 CurlClient setting, with defaults taken from the code.
  • Extra headers with Crawler::addDefaultHeaders().
  • Wrapping CurlClient in a PSR-18 decorator instead of extending the dispatcher, and what changes then (getMulti() is sequential, the URL policy does not reach the inner client).

The examples were run against v4.6.0 and work.

Docs only, no code changes. CHANGELOG has a [4.6.2] section on top of 4.6.0. This should be merged after #589 (4.6.1); the CHANGELOG will then need a trivial merge from master.

Keep both CHANGELOG entries: 4.6.2 (2026-11-06) above 4.6.1.
@Vitorinox
Vitorinox merged commit 1d6040f into master Nov 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v4 is missing doc on Dispatcher

1 participant