Expand description
reqwest-backed HttpConnector implementation (OAPI-01).
reqwest-backed HttpConnector implementation (OAPI-01).
Lifts the pmcp-run reference HttpClient::execute_with_options body into a
toolkit-owned HttpClient that implements HttpConnector. The concrete
shape mirrors crate::sql::sqlite::SqliteConnector (a concrete connector impl
- constructor). Construction is LAZY โ
newparses the base URL but contacts no backend (CF-2). URL building uses the shared [crate::http::join_url] helper so an API-Gateway stage prefix (/v1) survives (Pitfall 2 โ explicit path concatenation, never the RFC-3986 url-crate path merge). Error messages never echo the URL or a credential (Pitfall 5).
Structsยง
- Http
Client - reqwest-backed
HttpConnector. - Http
Config - HTTP client configuration (OWNED here in
http, mirroringsuper::AuthConfigownership so Plan 02 re-exports it rather than redefining).