Expand description
Newtype wrappers for identifiers used across the protocol — request IDs returned to the agent, tab IDs scoped to a host’s browser, and profile names. Each type owns its own validation/generation so we can’t accidentally pass a profile name where a tab ID is expected.
Structs§
- Request
Id - A per-fetch identifier, generated by the SDK on each
Client::fetch(...). Goes into the responserequest_idfield and into the default--outpath ($TMPDIR/afhttp-out/<request_id>/, platform equivalent). - TabId
- A browser tab identifier, assigned by the host’s CDP target manager.
Architecture.md
§5(--tab new|<id>) makes this the unit of fetch affinity for reusing browser state across requests.