Skip to content

Commit

Permalink
Introduce GrpcWebLayer implementing tower::Layer. Fix hyperium#1117
Browse files Browse the repository at this point in the history
Signed-off-by: slinkydeveloper <francescoguard@gmail.com>
  • Loading branch information
slinkydeveloper committed Oct 25, 2022
1 parent 606cff6 commit b326b39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tonic-web/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ use std::pin::Pin;
use tonic::body::BoxBody;
use tower_service::Service;

pub use layer::GrpcWebLayer;

/// enable a tonic service to handle grpc-web requests with the default configuration.
///
/// Shortcut for `tonic_web::config().enable(service)`
Expand Down

0 comments on commit b326b39

Please sign in to comment.