[][src]Crate holochain_net_ipc

Networking / P2P IPC Abstraction

This crate allows holochain to connect to a running P2P client node over ZeroMq-based socket connection. The recommended ZeroMQ configuration is to use the ipc:// protocol, which will make use of unix domain sockets in a linux or macOs environment. You may need to fall back to tcp:// for other operating systems.

The main export you should care about is ZmqIpcClient.

Re-exports

pub use ipc_client::ZmqIpcClient;

Modules

errors

This module holds net_ipc custom error types.

ipc_client

This module represents a holochain application's inter-process-communication connection to an external p2p process.

message

This module contains message serialization structures.

msg_types

This module holds message type u8 constants.

Macros

bail_generic

Macro akin to bail!() but returns an IpcError::GenericError.