message-size-increase #3

Open
sashakoshka wants to merge 38 commits from message-size-increase into main
Showing only changes of commit c51a81bc13 - Show all commits

View File

@ -42,6 +42,9 @@ type Trans interface {
// Send sends a message.
Send(method uint16, data []byte) error
// SendWriter sends data written to an [io.Writer]. Any writer
// previously opened through this function will be discarded.
SendWriter(method uint16) (io.Writer, error)
// Receive receives a message.
Receive() (method uint16, data []byte, err error)
// ReceiveReader receives a message as an [io.Reader]. Any reader