setSendBufferSize method

void setSendBufferSize(
  1. int size
)

Sets the send buffer size.

Implementation

void setSendBufferSize(int size) {
  if (_closing) throw StateError('Socket is closing');
  _sendBufferSize = size;
}