Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

tower-rs/tower-hyper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tower-hyper

A hyper based tower transport layer.

Build Status

Example

Simple client connection example, check it out here

let connector = Connector::new(HttpConnector::new(1));
let mut hyper = Connect::new(connector, Builder::new());

let request = hyper
	.make_service(dst)
	.and_then(|mut conn| {
		conn.call(Request::new(Body::empty()))
	})
	.and_then(|response| {
		// do something with response...
	});
	
hyper::rt::run(request);

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in tower-hyper by you, shall be licensed as MIT, without any additional terms or conditions.

About

A hyper based tower transport layer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages