Module wasmcloud_core::wrpc
source · Expand description
This module provides wasmcloud-specific implementations of wrpc_transport traits.
Specifically, we wrap the wrpc_transport::Transmitter, wrpc_transport::Invocation,
and wrpc_transport::Client traits in order to:
- Propagate trace context
- Append invocation headers
- Perform invocation validation (where necessary)
Most logic is delegated to the underlying wrpc_transport_nats client, which provides the
actual NATS-based transport implementation.
Structs§
- Wrapper around
wrpc_transport_nats::Acceptorthat includes aasync_nats::HeaderMapfor passing invocation and trace context. - Wrapper around
wrpc_transport_nats::Clientthat includes aasync_nats::HeaderMapfor passing invocation and trace context. - Wrapper around
wrpc_transport_nats::Invocationthat includes aasync_nats::HeaderMapfor passing invocation and trace context. - Wrapper around
wrpc_transport_nats::Transmitterthat includes aasync_nats::HeaderMapfor passing invocation and trace context.