class LHC::Interceptors

def intercept(name)

Experimental RBS support (using type sampling data from the type_fusion project).

def intercept: (Symbol name) -> Array[]

This signature was generated using 188 samples from 4 applications.

Forwards messages to interceptors and handles provided responses.
def intercept(name)
  all.each do |interceptor|
    result = interceptor.send(name)
    if result.is_a? LHC::Response
      raise 'Response already set from another interceptor' if @response
      @response = interceptor.request.response = result
    end
  end
end