module Configurable
Provides a new method that creates a class Async::HTTP::Protocol::Configured wrapper, allowing protocols to be instantiated with custom options.
Definitions
def new(**options)
Create a new class Async::HTTP::Protocol::Configured instance wrapping this protocol with the given options.
Signature
-
parameter
optionsHash Configuration options for client and server creation.
-
returns
Configured A configured protocol instance.
Implementation
def new(**options)
Configured.new(self, **options)
end