Public Instance methods
current_context?()
[show source]
# File lib/httpx/plugins/fiber_concurrency.rb 66 def current_context? 67 @pending.any?(&:current_context?) || ( 68 @sibling && @sibling.pending.any?(&:current_context?) 69 ) 70 end
interests()
[show source]
# File lib/httpx/plugins/fiber_concurrency.rb 72 def interests 73 return if connecting? && @pending.none?(&:current_context?) 74 75 super 76 end
send(request)
[show source]
# File lib/httpx/plugins/fiber_concurrency.rb 78 def send(request) 79 # DoH requests bypass the session, so context needs to be set here. 80 request.set_context! 81 82 super 83 end