mirror of
https://github.com/vacp2p/specs.git
synced 2026-01-09 15:28:03 -05:00
declare the 1MiB message limit to be a part of the spec
This can't be some "out of band" thing. Specs don't work that way.
This commit is contained in:
@@ -59,7 +59,7 @@ The party that opens a stream is called the stream initiator. This is used to id
|
||||
|
||||
### Writing to a stream
|
||||
|
||||
To write data to a stream, one must send a message with the flag `MessageReceiver` (1) or `MessageInitiator` (2) (depending on whether or not the writer is the receiver or sender). The data field should contain the data you wish to write to the stream, limited to a maximum size agreed upon out of band (For reference, the go-mplex implementation sets this to 1MB).
|
||||
To write data to a stream, one must send a message with the flag `MessageReceiver` (1) or `MessageInitiator` (2) (depending on whether or not the writer is the receiver or sender). The data field should contain the data you wish to write to the stream, up to 1MiB per message.
|
||||
|
||||
### Closing a stream
|
||||
|
||||
|
||||
Reference in New Issue
Block a user