didcomm-rs
didcomm-rs copied to clipboard
Multiple Mediators??
Hello, in the README.md examples it mentions using the routed_by() method of the Message struct multiple times in reverse order to facilitate mediating with multiple mediators.
This may have worked in <=v0.4.0, but now routed_by() in v0.6.1-v0.7.2 returns a String. The only way that I can see to perform this operation is to call routed_by() once, then calling receive(), then routed_by() again for each remaining mediator, but this does not make any sense because receive will unwrap the message... Please advise.
Also, what If I am trying to mediate a seal_signed() message? seal_signed() returns a String as well, how would I call routed_by on the message after its gone through the seal_signed() method?
Any pointers or advise would be greatly appreciated. Thank you in advance.