Expose builder

This commit is contained in:
Lucio Franco
2019-08-21 21:11:02 -04:00
parent ae0500f48f
commit 8ae279eb2f
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -12,4 +12,4 @@ mod server;
pub use client::Connection;
pub use recv_body::RecvBody;
pub use server::Server;
pub use server::{Builder, Server};
+2
View File
@@ -7,6 +7,8 @@ use tokio_io::{AsyncRead, AsyncWrite};
use tower_service::Service;
use tower_util::MakeService;
pub use h2::server::Builder;
pub struct Server<M, B>
where
M: MakeService<(), Request<RecvBody>>,