Skip to content

Conversation

Frando
Copy link
Member

@Frando Frando commented Jun 26, 2025

Description

This is an alternative to #3355 that does not modify the router but adds an example with a new router that allows adding and removing protocols at runtime.

Depens on #3366

Breaking Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.
    • List all breaking changes in the above "Breaking Changes" section.
    • Open an issue or PR on any number0 repos that are affected by this breaking change. Give guidance on how the updates should be handled or do the actual updates themselves. The major ones are:

@Frando Frando changed the title feat(iroh): expose DynProtocolHandler, add example of custom router feat(iroh): add example of custom router Jun 26, 2025
@Frando Frando changed the title feat(iroh): add example of custom router docs(iroh): add example of custom router Jun 26, 2025
Copy link

github-actions bot commented Jun 26, 2025

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/3367/docs/iroh/

Last updated: 2025-10-14T11:00:33Z

Copy link

github-actions bot commented Jun 26, 2025

Netsim report & logs for this PR have been generated and is available at: LOGS
This report will remain available for 3 days.

Last updated for commit: 12f42db

@n0bot n0bot bot added this to iroh Jun 26, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Jun 26, 2025
@dignifiedquire
Copy link
Contributor

ci sad

@@ -0,0 +1,553 @@
//! This example showcases how to build a custom router.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is quite complex, maybe it should live in iroh-examples?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

2 participants