Files
nym/documentation/docs/src/sdk/rust/examples/simple.md
T
2023-11-02 10:25:10 +01:00

365 B

Simple Send

Lets look at a very simple example of how you can import and use the websocket client in a piece of Rust code (examples/simple.rs).

Simply importing the nym_sdk crate into your project allows you to create a client and send traffic through the mixnet.

{{#include ../../../../../../sdk/rust/nym-sdk/examples/simple.rs}}