Module dtn7_plus::client[][src]

Simple ways to interact with dtnd

Example

use dtn7_plus::client::DtnClient;

let client = DtnClient::new();

let local_node = client.local_node_id()?;
client.register_application_endpoint("incoming")?;

Structs

DtnClient

Client for connecting to a local dtnd instance

DtnWsConnection
WsRecvData

Received bundle payload with meta data

WsSendData

Let server construct a new bundle from the provided data

Enums

ClientError
Message

An enum representing the various forms of a WebSocket message.