Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
matteosister committed Oct 26, 2020
1 parent 28165c9 commit cad6489
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/prelude.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pub use super::errors::*;
pub use super::{
response::Response,
v2::{DeliverableRequest, GraphQLRequest, Request, RestRequest},
v2::{DeliverableRequest, GraphQL, GraphQLRequest, Request, RequestType, Rest, RestRequest},
Bridge,
};
2 changes: 1 addition & 1 deletion src/v2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub trait DeliverableRequest<'a>: Sized + 'a {
/// adds a new set of headers to the request. Any header already present gets removed.
fn set_custom_headers(self, headers: Vec<(HeaderName, HeaderValue)>) -> Self;

/// add a custom header to the set of request headersbeh 500
/// add a custom header to the set of request headers
fn with_custom_headers(self, headers: Vec<(HeaderName, HeaderValue)>) -> Self {
let mut custom_headers = self.get_custom_headers().to_vec();
custom_headers = headers
Expand Down

0 comments on commit cad6489

Please sign in to comment.