What is the SwarmBuilder
equivalent to applying an upgrade to transport?
#4985
-
Previously we would manually construct the
But now that we are constructing our How should I include such an upgrade now? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
At the moment, this is not supported in Can you explain what your custom upgrade does? With the advent of natively encrypted and multiplexed transports like QUIC, WebRTC and WebTransport, applying a custom upgrade between authentication but prior to the muxer is not possible. Thus, I think we will have to take a step back and look at what the overall feature is that you'd like to solve with this custom upgrade and see, if we can fit that into the model of the |
Beta Was this translation helpful? Give feedback.
-
We are also doing a similar thing but with |
Beta Was this translation helpful? Give feedback.
Don't do that! :)
You should only ever have one transport that can handle a certain multiaddr. The transport you configure "after" will never be used.
Yes that should work.
with_tcp
uses the same APIs under the hood! :)