Skip to content

Commit f813f69

Browse files
committed
Add better preamble
1 parent 7a62f5c commit f813f69

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

connecting/endpoint-hooks.mdx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
---
2-
title: Endpoint Hooks
2+
title: Observing & Rejecting Connections
33
---
44

5-
Endpoint hooks allow you to intercept the connection-establishment process of an iroh `Endpoint`.
6-
They are a lightweight, flexible mechanism for observing connection events or rejecting connections based on conditions. The latter can be used to implement custom authentication schemes.
5+
<Note>
6+
Available in iroh v.96 and later.
7+
</Note>
8+
9+
Endpoint Hooks allow you to intercept the connection-establishment process of an iroh `Endpoint`.
10+
11+
They are a lightweight, flexible mechanism for observing connection events or
12+
rejecting connections based on conditions. The latter can be used to implement
13+
custom authentication schemes.
714

815
Hooks run at two points:
916

0 commit comments

Comments
 (0)