go-multistream icon indicating copy to clipboard operation
go-multistream copied to clipboard

signal selected protocol to callers

Open whyrusleeping opened this issue 9 years ago • 1 comments

When the handlerfunc for a particular handler is called, we should signal which protocol was selected. This will make it easier for application logic to change its behaviour based on protocol versions.

whyrusleeping avatar Aug 05 '16 16:08 whyrusleeping

Related: https://github.com/multiformats/multistream/issues/8

jbenet avatar Aug 06 '16 04:08 jbenet