# Functions
ConvertFromStrings is a convenience function that takes a slice of strings and converts it to a slice of protocol.ID.
ConvertToStrings is a convenience function that takes a slice of protocol.ID and converts it to a slice of strings.
# Constants
Deprecated: use github.com/libp2p/go-libp2p/core/protocol.TestingID instead.
# Type aliases
HandlerFunc is a user-provided function used by the Router to handle a protocol/stream.
ID is an identifier used to write protocol headers in streams.
Negotiator is a component capable of reaching agreement over what protocols to use for inbound streams of communication.
Router is an interface that allows users to add and remove protocol handlers, which will be invoked when incoming stream requests for registered protocols are accepted.
Switch is the component responsible for "dispatching" incoming stream requests to their corresponding stream handlers.