Difference between revisions of "Networking"

From Internet Computer Wiki
Jump to: navigation, search
Line 9: Line 9:
  
 
==== Crates ====
 
==== Crates ====
[https://docs.rs/tokio/latest/tokio/ tokio], [https://docs.rs/tower/latest/tower/ tower], [[hyperhttps://docs.rs/hyper/latest/hyper/|hyper]], [https://docs.rs/tonic/latest/tonic/ tonic]
+
[https://docs.rs/tokio/latest/tokio/ tokio], [https://docs.rs/tower/latest/tower/ tower], [[https://docs.rs/hyper/latest/hyper/ hyper]], [https://docs.rs/tonic/latest/tonic/ tonic]

Revision as of 08:26, 28 October 2022


Networking adapters

Networking adapters are processes on the ReplicaOS that run next to the main replica process. The adapters are used for outgoing calls to the internet. Bitcoin integration and HTTPS outcalls features have their own dedicated adapters.
The main replica process uses gRPC for communicating with the adapters via Unix domain sockets.


Rust

Crates

tokio, tower, [hyper], tonic