module H2::Client::ExceptionlessIO

use exceptionless IO if this ruby version supports it

Public Instance Methods

read_from_socket(maxlen) click to toggle source
# File lib/h2/client.rb, line 396
def read_from_socket maxlen
  socket.read_nonblock maxlen, exception: false
end
write_to_socket(bytes) click to toggle source
# File lib/h2/client.rb, line 400
def write_to_socket bytes
  socket.write_nonblock bytes, exception: false
end