1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-25 18:09:22 +02:00

initial work on client connector

This commit is contained in:
Nikolay Kim
2018-01-29 23:01:20 -08:00
parent 5cc3bba5cc
commit a02e0dfab6
8 changed files with 238 additions and 185 deletions

View File

@ -12,7 +12,6 @@ use std::time::Duration;
use actix::*;
use futures::Future;
use tokio_core::net::TcpStream;
use actix_web::ws::{Message, WsClientError, WsClient, WsClientWriter};
@ -54,7 +53,7 @@ fn main() {
}
struct ChatClient(WsClientWriter<TcpStream>);
struct ChatClient(WsClientWriter);
#[derive(Message)]
struct ClientCommand(String);