Module: HTTPX::Plugins::FiberConcurrency

Defined in:
lib/httpx/plugins/fiber_concurrency.rb

Overview

This plugin makes a session reuse the same selector across all fibers in a given thread.

This enables integration with fiber scheduler implementations such as [async](github.com/async).

# gitlab.com/os85/httpx/wikis/FiberConcurrency

Defined Under Namespace

Modules: ConnectionMethods, FiberConcurrencyH2C, HTTP1Methods, HTTP2Methods, InstanceMethods, NativeResolverMethods, RequestMethods, SystemResolverMethods

Class Method Summary collapse

Class Method Details

.subpluginsObject



12
13
14
15
16
# File 'lib/httpx/plugins/fiber_concurrency.rb', line 12

def self.subplugins
  {
    h2c: FiberConcurrencyH2C,
  }
end