-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(volo-http): use less
Result
in client
This commit updates `Request` to `Result<Request>` in `RequestBuilder`, and makes the methods of `RequestBuilder` no longer use `Result` as the return type. These methods no longer return `Err` directly, but save it in `Result<Request>` and throw it when trying to send a request. Signed-off-by: Yu Li <[email protected]>
- Loading branch information
1 parent
c7e4fc8
commit a7b3b71
Showing
7 changed files
with
303 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.