Struct saltyrtc_client::SaltyClient[][src]

pub struct SaltyClient { /* fields omitted */ }

The SaltyRTC Client instance.

To create an instance of this struct, use the SaltyClientBuilder.

Methods

impl SaltyClient
[src]

Instantiate a new SaltyClientBuilder instance.

Return the assigned role.

Return a reference to the auth token.

Return a reference to the initiator public key.

Return a reference to the selected task.

Encrypt a task message.

Encrypt a close message for the peer.

If the peer is already determined, return the current incoming and outgoing sequence numbers.

Encrypt raw bytes using the session keys after the handshake has been finished.

Decrypt raw bytes using the session keys after the handshake has been finished.

Auto Trait Implementations

impl !Send for SaltyClient

impl !Sync for SaltyClient