Optional
bytesThe bytes that make up the component. This will be set if the multiaddr
was parsed from a Uint8Array
, or if .bytes
has been accessed on it.
The code of the component as defined in the protocol table
The name of the component as defined in the protocol table
Optional
valueThe component value, if one is present
A Component is a section of a multiaddr with a name/code, possibly with a value.
Component names/codes are defined in the protocol table.
See
https://github.com/multiformats/multiaddr/blob/master/protocols.csv