A now defunct web server engine that is notable for its overuse of unsafe code, the memory safety bugs caused by that, and its deletion by its creator.
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Nikolay Kim 6a0cd2dced Rename HttpServer::start() to HttpServer::run() há 9 meses
..
src compile with default-features off há 9 meses
tests Rename HttpServer::start() to HttpServer::run() há 9 meses
CHANGES.md prep awc release há 9 meses
Cargo.toml update actix-service dep há 9 meses
LICENSE-APACHE add license files há 1 ano
LICENSE-MIT add license files há 1 ano
README.md update readme há 1 ano

README.md

Actix http client Build Status codecov crates.io Join the chat at https://gitter.im/actix/actix

An HTTP Client

Documentation & community resources

Example

use actix_rt::System;
use awc::Client;
use futures::future::{Future, lazy};

fn main() {
    System::new("test").block_on(lazy(|| {
       let mut client = Client::default();

       client.get("http://www.rust-lang.org") // <- Create request builder
          .header("User-Agent", "Actix-web")
          .send()                             // <- Send http request
          .and_then(|response| {              // <- server http response
               println!("Response: {:?}", response);
               Ok(())
          })
    }));
}