Commit 03a2ed8a authored by Joseph Noir's avatar Joseph Noir

Add funtion to access write buffer directly

parent 2fbfa8f2
......@@ -380,6 +380,10 @@ struct newb : public extend<scheduled_actor, newb<Message>>::template
return {this, protocol.get(), &buf, hstart, hlen};
}
byte_buffer wr_buf() {
return transport->wr_buf();
}
void flush() override {
transport->flush(this);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment