Static Methodgrpc-swift 2.0.0GRPCCore
methods(_:)
An operation subject specifying an interceptor that will be applied only to RPCs directed to the specified service methods.
static func methods(_ methods: Set<MethodDescriptor>) -> ConditionalInterceptor<Interceptor>.Subject
Parameters
- methods
The list of method descriptors for which this interceptor should intercept RPCs.