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
However, my read is that this implementation would, by default, error trying to encode/decode such multiaddrs as the protocols would not be part of the protocol table.
Is the recommendation to call AddProtocols on every machine your application runs on an add your additional protocol?
Also is this still the recommendation given http-path was later added as a default included protocol?
Do you need anything else besides the path? I don't think it makes sense to encode the method type or parameters since this is just talking about a specific resources. If you need to encode those I think the linked recommendation is still good. You would call AddProtocols as part of your application, and that runs everywhere your application does.
Question:
In https://github.com/libp2p/specs/blob/master/http/transport-component.md#recommendation-on-including-http-semantics-in-multiaddrs there's a recommendation to use the private use area of multicodecs to add HTTP semantics to an HTTP multiaddr.
However, my read is that this implementation would, by default, error trying to encode/decode such multiaddrs as the protocols would not be part of the protocol table.
Is the recommendation to call
AddProtocols
on every machine your application runs on an add your additional protocol?Also is this still the recommendation given
http-path
was later added as a default included protocol?cc: @MarcoPolo
The text was updated successfully, but these errors were encountered: