curl-rust-easybuilder

A builder pattern for curl-rust crate

Build Status

Add to your project

TODO: publish crate on Crates.io

Usage

```rust extern crate curl_easybuilder;

use std::io::{stdout, Write}; use curl_easybuilder::EasyBuilder;

fn main() { let mut easy = EasyBuilder::new(); let easy = easy.url("https://www.rust-lang.org/") .write_function(|data| Ok(stdout().write(data).unwrap())) .result() .unwrap(); easy.perform().unwrap(); } ```

License

The library licensed under MIT license. See LICENSE file for further information.