This crate provides an implementation of an Ockam [Ockam][main-ockam-crate-link]
Node and is intended for use by crates that provide features and add-ons
to the main [Ockam][main-ockam-crate-link] library.
The main [Ockam][main-ockam-crate-link] crate re-exports types defined in
this crate, when the `"std"` feature is enabled.
usecrate::Context;useockam_core::{Address,Result, TransportType};implContext{// TODO: This method should be deprecated
/// Register a router for a specific address type
pubfnregister<A:Into<Address>>(&self, type_: TransportType, addr: A)->Result<()>{self.router()?.register_router(type_, addr.into())}}