Make Request constructor public for wasm environments (#1173)
Closes #1171
This commit is contained in:
		| @@ -27,7 +27,9 @@ pub struct RequestBuilder { | |||||||
| } | } | ||||||
|  |  | ||||||
| impl Request { | impl Request { | ||||||
|     pub(super) fn new(method: Method, url: Url) -> Self { |     /// Constructs a new request. | ||||||
|  |     #[inline] | ||||||
|  |     pub fn new(method: Method, url: Url) -> Self { | ||||||
|         Request { |         Request { | ||||||
|             method, |             method, | ||||||
|             url, |             url, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user