Skip to content

Commit

Permalink
Export Body and Response
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Oct 2, 2024
1 parent b70df88 commit 98c432c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions google-apis-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ pub use yup_oauth2 as oauth2;

const LINE_ENDING: &str = "\r\n";

type Body = http_body_util::Full<hyper::body::Bytes>;
type Response = hyper::Response<Body>;
/// A body.
pub type Body = http_body_util::Full<hyper::body::Bytes>;

/// A response.
pub type Response = hyper::Response<Body>;

pub enum Retry {
/// Signal you don't want to retry
Expand Down

0 comments on commit 98c432c

Please sign in to comment.