[omaha client] Make RequestBuilder return an http::Request
Instead of just returning the body for the HTTP request, the RequestBuilder should instead produce a complete HTTP request with URL, headers, and body. This consolidates all of the request-building logic to this one place. Bug: PKG-679 Test: fx run-test omaha_client_lib_tests Change-Id: I2fe1acf0b79b733a66746fbdd22c8a3221a560d1
Showing
- garnet/lib/rust/omaha_client/BUILD.gn 1 addition, 0 deletionsgarnet/lib/rust/omaha_client/BUILD.gn
- garnet/lib/rust/omaha_client/src/configuration/mod.rs 24 additions, 0 deletionsgarnet/lib/rust/omaha_client/src/configuration/mod.rs
- garnet/lib/rust/omaha_client/src/protocol/request/mod.rs 13 additions, 1 deletiongarnet/lib/rust/omaha_client/src/protocol/request/mod.rs
- garnet/lib/rust/omaha_client/src/requests/mod.rs 214 additions, 40 deletionsgarnet/lib/rust/omaha_client/src/requests/mod.rs
Loading
Please register or sign in to comment