class IO::Endpoint::CompositeEndpoint
def initialize(endpoints, **options)
def initialize(endpoints, **options) super(**options) # If any options were provided, propagate them to the endpoints: if options.any? endpoints = endpoints.map{|endpoint| endpoint.with(**options)} end @endpoints = endpoints end