Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Define a dnsaddr, dns, dns4 or dns6 format multiaddr
var DNS4 = Base(ma.P_DNS4)
Define a dns4 format multiaddr
var DNS6 = Base(ma.P_DNS6)
Define a dns6 format multiaddr
var HTTP = Or( And(TCP, Base(ma.P_HTTP)), And(IP, Base(ma.P_HTTP)), And(DNS, Base(ma.P_HTTP)), )
Define http over TCP or DNS or http over DNS format multiaddr
var HTTPS = Or( And(TCP, Base(ma.P_HTTPS)), And(IP, Base(ma.P_HTTPS)), And(DNS, Base(ma.P_HTTPS)), )
Define https over TCP or DNS or https over DNS format multiaddr
Define IP as either ipv4 or ipv6
var IPFS = P2P
IPFS can run over any reliable underlying transport protocol
Deprecated: use P2P
P2P can run over any reliable underlying transport protocol
Define QUIC as 'quic' on top of udp (on top of ipv4 or ipv6)
var Reliable = Or(TCP, UTP, QUIC)
Now define a Reliable transport as either tcp or utp or quic
Define TCP as 'tcp' on top of either ipv4 or ipv6, or dns equivalents.
Define UDP as 'udp' on top of either ipv4 or ipv6, or dns equivalents.
Define UTP as 'utp' on top of udp (on top of ipv4 or ipv6).
var Unreliable = Or(UDP)
Define unreliable transport as udp
var WebRTCDirect = Or( And(HTTP, Base(ma.P_P2P_WEBRTC_DIRECT)), And(HTTPS, Base(ma.P_P2P_WEBRTC_DIRECT)))
Define p2p-webrtc-direct over HTTP or p2p-webrtc-direct over HTTPS format multiaddr
Functions ¶
This section is empty.