methods(_:)

An operation subject specifying an interceptor that will be applied only to RPCs directed to the specified service methods.

ConditionalInterceptor.swift:49
static func methods(_ methods: Set<MethodDescriptor>) -> ConditionalInterceptor<Interceptor>.Subject

Parameters

methods

The list of method descriptors for which this interceptor should intercept RPCs.