This is one area where our API documentation is not great.
interceptorProvider is a function type, not an exported function. In the
Client constructor options parameter, two of the available options are
"interceptors" and "interceptor_providers", which take an array of
Interceptors and an array of InterceptorProviders, respectively.

On Sun, Jul 14, 2019 at 6:27 PM Ian Crena Geckeler <[email protected]>
wrote:

> Hello Google gRPC Team!
>
> My name's Ian, and I have a quick question about gRPC-Node.
>
> On the documentation, InterceptorProvider is listed as a global method
> however, my team cannot find that method on the grpc object.
>
> Any insight into how to access this method, or how else we might define
> interceptors and attach them to a service-method on the client/stub would
> be super helpful. Thank you, and have a terrific week!
>
> Best,
> Ian
> --
> Ian Geckeler
> USC | Class of 2019
> Computational Mathematics
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/CABO788vSEMfTKWMe6j76sj5jO_d7UR-xgfLX6PVapnn1-KNfgg%40mail.gmail.com
> <https://groups.google.com/d/msgid/grpc-io/CABO788vSEMfTKWMe6j76sj5jO_d7UR-xgfLX6PVapnn1-KNfgg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAPK2-4cm0EZSDGC7w6FGqRKb3dcbt_h%2B3pR3MCMrDKLOErUzqA%40mail.gmail.com.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to