Module: H2::Client::ExceptionlessIO
- Included in:
- H2::Client
- Defined in:
- lib/h2/client.rb
Overview
use exceptionless IO if this ruby version supports it
Instance Method Summary collapse
Instance Method Details
#read_from_socket(maxlen) ⇒ Object
393 394 395 |
# File 'lib/h2/client.rb', line 393 def read_from_socket maxlen @socket.read_nonblock maxlen, exception: false end |
#write_to_socket(bytes) ⇒ Object
397 398 399 |
# File 'lib/h2/client.rb', line 397 def write_to_socket bytes @socket.write_nonblock bytes, exception: false end |