refactor to body

This commit is contained in:
Martin Algesten
2018-06-30 14:11:54 +02:00
parent 0e4c326caf
commit 54558fbb26
6 changed files with 102 additions and 166 deletions

View File

@@ -1,6 +1,7 @@
use url::Url;
use stream::{connect_http, connect_https, connect_test, send_body};
use stream::{connect_http, connect_https, connect_test};
use std::io::Write;
use body::{Payload, SizedReader, send_body};
//
pub struct Unit {