setRecvBufferSize method

void setRecvBufferSize(
  1. int size
)

Sets the receive buffer size.

Implementation

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