Skip to content

Commit ea4d8be

Browse files
authored
feat: multistream-select (#297)
1 parent 4f693d9 commit ea4d8be

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed
Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
11
---
22
title: "Multistream Select"
3-
description: ""
3+
description: "Multistream Select is used to negotiate the protocol to be spoken on a connection or stream."
44
weight: 26
55
---
66

7-
Coming soon!
7+
## Overview
8+
9+
[Multistream Select](https://github.com/multiformats/multistream-select) is a
10+
protocol negotiation protocol. It allows two peers to negotiate the next spoken
11+
protocol on a connection or stream.
12+
13+
Peers use Multistream Select at various places to select the protocols to use on
14+
a libp2p connection or stream. Most prominently Multistream Select is used to
15+
select the [security](../../secure-comm/overview.md) followed by [stream
16+
multiplexing](../../multiplex/overview.md) protocol spoken on a connection. In
17+
addition it is used to select the application protocol (e.g. Kademlia) on each
18+
new stream on a given connection. The [protocol
19+
negotiation](../core-abstractions/connections#protocol-negotiation) and [upgrade
20+
process](../core-abstractions/connections#upgrading-connections) are explained
21+
further in the [connections document](../core-abstractions/connections.md).
22+
23+
{{< alert icon="💡" context="note" text="See the multistream-select <a class=\"text-muted\" href=\"https://github.com/multiformats/multistream-select\">technical specification</a> for more details." />}}

0 commit comments

Comments
 (0)