unified sending interface + example of split sending

This commit is contained in:
Jędrzej Stuczyński
2023-08-09 14:27:17 +01:00
parent a1295a316b
commit e705b76b36
23 changed files with 523 additions and 229 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ If you're integrating mixnet functionality into an existing app and want to inte
```
### Anonymous replies with SURBs
Both functions used to send messages through the mixnet (`send_str` and `send_bytes`) send a pre-determined number of SURBs along with their messages by default.
Both functions used to send messages through the mixnet (`send_message` and `send_plain_message`) send a pre-determined number of SURBs along with their messages by default.
The number of SURBs is set [here](https://github.com/nymtech/nym/blob/release/{{platform_release_version}}/sdk/rust/nym-sdk/src/mixnet/client.rs#L34):