Send will take a blob which will either help Crust identify which connected peer to send the message to OR will help it make such a connection and then send if not already connected. This will likely be the PubConnectionInfo blob.
Send will not return success or error. It will try connecting + sending for a max of 120secs after which it will silently fail
Apart from the connection blob it'll accept the message itself and the priority as usual.
Don't expose a connect() API anymore
Don't expose a disconnect() API anymore
Multiple send()s to the same peer while in process of establishing a connection should not try establishing more connections - wait for the one connection being established and then try sending all accumulated data to the peer. We say "try" because the connection could be severed before sending all the messages according to the dynamic connections rule (see dyn-conn pool issue)
PubConnectionInfo
blob.connect()
API anymoredisconnect()
API anymoresend()
s to the same peer while in process of establishing a connection should not try establishing more connections - wait for the one connection being established and then try sending all accumulated data to the peer. We say "try" because the connection could be severed before sending all the messages according to the dynamic connections rule (see dyn-conn pool issue)