Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit 5ae99b8

Browse files
committed
Re-export the Method type for easier use
1 parent ff42559 commit 5ae99b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/client.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
use crate::RequestBuilder;
2-
use wasi::http::types::Method;
1+
use crate::{Method, RequestBuilder};
32

43
#[derive(Default)]
54
pub struct Client {}

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ mod response;
2525
pub use self::client::Client;
2626
pub use self::request::RequestBuilder;
2727
pub use self::response::Response;
28+
pub use wasi::http::types::Method;

0 commit comments

Comments
 (0)