Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(iroh-relay): Make the client side of iroh-relay compile & run in browsers #3119

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

matheus23
Copy link
Contributor

Description

Allows compiling and running iroh-relay in browsers (as long as the server feature is disabled).

By default uses websockets to connect to relays when compiling for the wasm32-unknown-unknown target.
If configured to Protocol::Relay specifically, it'll error out.

Breaking Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@matheus23 matheus23 self-assigned this Jan 10, 2025
@matheus23 matheus23 changed the title feat: Make the client side of iroh-relay compile & run in browsers feat(iroh-relay): Make the client side of iroh-relay compile & run in browsers Jan 10, 2025
Copy link

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

Last updated: 2025-01-10T15:58:26Z

Copy link

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: 2936c67

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.

1 participant