mirror of
https://github.com/n0-computer/iroh.git
synced 2026-12-03 08:01:40 +00:00
fd37cab02c2bd43f88108205fd0f0de2ed94896f
Since we now only issue a single request per stream this field was not used. Using it in the provider to identify requests would introduce complexity and overhead for the bookkeeping of request IDs. Instead remove the field from the protocol. The provider still has a use-case for identifying which request events relate to. It now uses the QUIC stream ID for this, but does not promise so on an API-level. This also simplifies the events since this new request_id is always known, while previously it was only known after having decoded the request message.
iroh
Send data over the internet.
Usage
Cli
Sending data
$ ./iroh provide <file>
Receiving data
$ ./iroh get <hash>
As a library
Disable default features when using iroh as a library:
iroh = { version: "...", default-features = false }
This removes dependencies that are only relevant when using iroh as
a library.
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Description
IP addresses break, dial keys instead. A library that adds QUIC + NAT Traversal to your apps.
Readme
435 MiB
Languages
Rust
99.6%
Shell
0.3%