ssl for the client

This commit is contained in:
Sean McArthur
2014-09-13 15:19:06 -07:00
parent c40b5b0c53
commit 42e69e1f2e
6 changed files with 102 additions and 22 deletions

View File

@@ -84,7 +84,7 @@ impl hyper::header::Header for Foo {
impl net::NetworkStream for MockStream {
fn connect(_host: &str, _port: u16) -> IoResult<MockStream> {
fn connect(_host: &str, _port: u16, _scheme: &str) -> IoResult<MockStream> {
Ok(MockStream::new())
}