Class: H2::Client::Celluloid::Reader

Inherits:
Object
  • Object
show all
Includes:
Celluloid
Defined in:
lib/h2/client/celluloid.rb

Instance Method Summary collapse

Instance Method Details

#read(client, maxlen = DEFAULT_MAXLEN) ⇒ Object



11
12
13
14
# File 'lib/h2/client/celluloid.rb', line 11

def read client, maxlen = DEFAULT_MAXLEN
  client.reading!
  client._read maxlen
end