[−][src]Function shs_async::client
pub async fn client<S>(
stream: S,
net_key: NetworkKey,
pk: PublicKey,
sk: SecretKey,
server_pk: PublicKey
) -> Result<HandshakeOutcome, HandshakeError> where
S: AsyncRead + AsyncWrite + Unpin,
pub async fn client<S>(
stream: S,
net_key: NetworkKey,
pk: PublicKey,
sk: SecretKey,
server_pk: PublicKey
) -> Result<HandshakeOutcome, HandshakeError> where
S: AsyncRead + AsyncWrite + Unpin,