-
Notifications
You must be signed in to change notification settings - Fork 475
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(protocol): add HTTP protocol implementation for libp2p #3046
base: main
Are you sure you want to change the base?
Conversation
Seems the build is failing because interfaces is relying on an outdated version of a package I've just set to the latest version? I'm not really sure what the best path to take here is. I don't feel right trying to update someone else's dependencies, but it build and runs cleanly here. |
Thanks for submitting this. Did you see this response in regard to your approach here? - #3030 (comment) |
I didn't see it before. I see it now. I respectfully disagree though. Existing web-server stacks make a lot of presumptions about the transport layer. We aren't going to be able to interface with them at the transport layer like that. It's far better IMHO to create the web stack and expose familiar semantics, specifically HTTP semantics over libp2p. |
… HTTP server tests
Title
feat(protocol): add HTTP protocol implementation for libp2p
Description
This PR introduces a complete HTTP protocol implementation for libp2p, following the official libp2p HTTP specification. The implementation provides both client and server components allowing peers to exchange HTTP messages over libp2p streams.
Key features include:
.well-known/libp2p/protocols
as specifiedThis implementation enables HTTP-based communication in peer-to-peer networks using libp2p, opening up possibilities for distributed web applications, REST APIs over libp2p, and more interoperable P2P services.
Notes & open questions
Change checklist