Module: OnStomp::Connections::Base::BlockingRead

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) read_nonblock



364
365
366
# File 'lib/onstomp/connections/base.rb', line 364

def read_nonblock
  socket.readpartial MAX_BYTES_PER_READ
end