Skip to content

Instantly share code, notes, and snippets.

View jeschkies's full-sized avatar

Karsten Jeschkies jeschkies

View GitHub Profile
struct RecordIoConnection {
buf: BytesMut,
body: hyper::Body,
}
impl RecordIoConnection {
pub fn connect(url: &str, buf_sz: usize) -> FutureResponse<Item=RecordIoConnection, Error=hyper::error::Error> {
let response = create_hyper_get();