Crate umsh_uri

Crate umsh_uri 

Source
Expand description

UMSH URI parsing and formatting helpers.

Structs§

ChannelKeyUri
Parsed direct-key channel URI.
ChannelNameUri
Parsed named-channel URI.
ChannelParams
Advisory channel metadata decoded from a URI query string.
NodeUri
Parsed node URI.

Enums§

Error
Error returned when parsing or formatting umsh: URIs.
UmshUri
Parsed umsh: URI.

Functions§

decode_base58_bytes
Decode a variable-length base58 string produced by encode_base58_bytes.
decode_percent
Decode percent-escapes in a URI component.
encode_base58_bytes
Encode arbitrary-length bytes as base58 with no fixed width; leading zero bytes render as leading 1 digits. This is the encoding of the optional node-identity bundle segment of a node URI (the 32-byte key segment keeps its fixed 44-digit form).
encode_channel_key_base58
Encode a channel key as fixed-width base58.
encode_public_key_base58
Encode a public key as fixed-width base58.
format_channel_key_uri
format_channel_key_uri_with_params
format_channel_name_uri
Format a named-channel URI.
format_channel_name_uri_with_params
format_node_uri
parse_channel_key_base58
Parse a base58-encoded channel key.
parse_public_key_base58
Parse a base58-encoded public key.
parse_umsh_uri
Parse a umsh: URI reference.