Expand description
quic-p2p enables communication within a peer to peer network over the QUIC protocol.
Structs§
- QuicP2p configurations
- Senders for node and client events
- For Operating Systems beyond Windows or UNIX. May also be used for testing and mobile platforms.
- Main QuicP2p instance to communicate with QuicP2p
Enums§
- Location at which data such as config, keys, certificates and other backup data are stored.
- QuicP2p Events to the user
- Whether we are a client or a node.
- Representation of a peer to us.
Constants§
- Default interval within which if we hear nothing from the peer we declare it offline to us.
- Default Interval to send keep-alives if we are idling so that the peer does not disconnect from us declaring us offline. If none is supplied we’ll default to the documented constant.
- Default maximum allowed message size. We’ll error out on any bigger messages and probably shutdown the connection. This value can be overridden via the
Config
option. - In the absence of a port supplied by the user via the config we will first try using this before using a random port.
Type Aliases§
- Result used by
QuicP2p
. - Token accepted during sends and returned back to the user to help identify the context.