From 76f9542df7be93537b5f2db245c7565ca80d41a4 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Tue, 30 Jan 2018 13:04:52 -0800 Subject: [PATCH] rename module --- src/client/{connect.rs => connector.rs} | 0 src/client/mod.rs | 4 ++-- src/ws/client.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/client/{connect.rs => connector.rs} (100%) diff --git a/src/client/connect.rs b/src/client/connector.rs similarity index 100% rename from src/client/connect.rs rename to src/client/connector.rs diff --git a/src/client/mod.rs b/src/client/mod.rs index 645766f70..66244e415 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -1,4 +1,4 @@ -pub(crate) mod connect; +mod connector; mod parser; mod request; mod response; @@ -8,4 +8,4 @@ pub(crate) use self::writer::HttpClientWriter; pub use self::request::{ClientRequest, ClientRequestBuilder}; pub use self::response::{ClientResponse, JsonResponse}; pub(crate) use self::parser::{HttpResponseParser, HttpResponseParserError}; -pub use self::connect::{Connect, Connection, ClientConnector, ClientConnectorError}; +pub use self::connector::{Connect, Connection, ClientConnector, ClientConnectorError}; diff --git a/src/ws/client.rs b/src/ws/client.rs index 58517fe18..500d13a3a 100644 --- a/src/ws/client.rs +++ b/src/ws/client.rs @@ -25,7 +25,7 @@ use server::shared::SharedBytes; use server::{utils, IoStream}; use client::{ClientRequest, ClientRequestBuilder, HttpResponseParser, HttpResponseParserError, HttpClientWriter}; -use client::connect::{Connect, Connection, ClientConnector, ClientConnectorError}; +use client::{Connect, Connection, ClientConnector, ClientConnectorError}; use super::Message; use super::proto::{CloseCode, OpCode};