Struct qp2p::SendStream [−][src]
pub struct SendStream { /* fields omitted */ }Expand description
Stream of outgoing messages
Implementations
Set the priority of the send stream
Every send stream has an initial priority of 0. Locally buffered data from streams with higher priority will be transmitted before data from streams with lower priority. Changing the priority of a stream with pending data may only take effect after that data has been transmitted. Using many different priority levels per connection may have a negative impact on performance.
Send a message using the stream created by the initiator