diff --git a/src/wasm/request.rs b/src/wasm/request.rs index 7b6ae27..df78083 100644 --- a/src/wasm/request.rs +++ b/src/wasm/request.rs @@ -250,6 +250,12 @@ impl RequestBuilder { self } + /// Build a `Request`, which can be inspected, modified and executed with + /// `Client::execute()`. + pub fn build(self) -> crate::Result { + self.request + } + /// Constructs the Request and sends it to the target URL, returning a /// future Response. ///