You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: connecting/endpoint-hooks.mdx
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,16 @@
1
1
---
2
-
title: Endpoint Hooks
2
+
title: Observing & Rejecting Connections
3
3
---
4
4
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
0 commit comments