Skip to main content

Module extension

Module extension 

Source
Expand description

This module provide basic mechanism.

Modules§

ext
Unified, effect-separated protocol abstraction shared by native and browser.
protocols
Built-in protocol extensions.
snark
SNARK Backend
transport
Transport relay — one abstraction for TCP, HTTP and (future) UDP.
types
Backend message types.

Structs§

Backend
Backend handles inbound custom messages from the Swarm, routing each decoded Envelope to its namespace’s protocol via the Extensions registry. The registry is shared with the Provider, so protocols registered there are visible to inbound dispatch here. Each protocol’s interpreter does its IO through a namespace-scoped Scope; the underlying router capability is internal.