Module: OnStomp::Connections::Base::NonblockingRead

Defined in:
lib/onstomp/connections/base.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) read_nonblock



353
354
355
# File 'lib/onstomp/connections/base.rb', line 353

def read_nonblock
  socket.read_nonblock MAX_BYTES_PER_READ
end