Method: HTTPX::Selector#register

Defined in:
lib/httpx/selector.rb

#register(io) ⇒ Object

register io.



121
122
123
124
125
# File 'lib/httpx/selector.rb', line 121

def register(io)
  return if @selectables.include?(io)

  @selectables << io
end