p2p/protocol/identify/user_agent library

User agent for the identify service.

This file contains the default user agent for the identify service.

This is a port of the Go implementation from go-libp2p/p2p/protocol/identify/user_agent.go to Dart, using native Dart idioms.

Properties

defaultUserAgent String
The default user agent for the identify service. This is set to a default value initially, but will be updated when initUserAgent is called.
getter/setter pair

Functions

initUserAgent() Future<void>
Initializes the default user agent based on the package information.