Get maximum initial receive size.
That is, the maximum number of bytes that ever may need to be received before the packet length can be determined.
This callback must not be NULL.
- Parameters
-
handler | The TransportHandler that will determine the initial read size. This must not be NULL. |
- Returns
- The size of an initial, priming read that can be used to determine the total number of bytes in a full packet.