mirror of
https://gitlab.com/fabinfra/fabaccess/sute.git
synced 2025-03-12 14:41:52 +01:00
Removes Handshake
This commit is contained in:
parent
d46bdbbab5
commit
e94c516a5a
@ -20,7 +20,6 @@ pub struct Session {
|
|||||||
impl Session {
|
impl Session {
|
||||||
pub async fn connect<A: AsyncToSocketAddrs>(log: Logger, addr: A) -> Result<Session> {
|
pub async fn connect<A: AsyncToSocketAddrs>(log: Logger, addr: A) -> Result<Session> {
|
||||||
let mut stream = TcpStream::connect(addr).await?;
|
let mut stream = TcpStream::connect(addr).await?;
|
||||||
handshake(&log, &mut stream).await;
|
|
||||||
let (rpc_system, api) = bootstrap(log, stream);
|
let (rpc_system, api) = bootstrap(log, stream);
|
||||||
|
|
||||||
Ok(Session {
|
Ok(Session {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user