GRPC::Interceptors
Interceptors contains helpers for building interceptor chains. The first interceptor in the array executes outermost (first on the way in, last on the way out).
Class methods
build_client_chain(interceptors : Array(ClientInterceptor), base : UnaryClientCall) : UnaryClientCall
build_client_chain wraps base with interceptors. Returns a single UnaryClientCall that runs interceptors[0] first.
build_client_chain(interceptors : Array(ClientInterceptor), base : ServerStreamClientCall) : ServerStreamClientCall
Sourcebuild_client_chain(interceptors : Array(ClientInterceptor), base : LiveClientStreamClientCall) : LiveClientStreamClientCall
Sourcebuild_client_chain(interceptors : Array(ClientInterceptor), base : LiveBidiStreamClientCall) : LiveBidiStreamClientCall
Sourcebuild_server_chain(interceptors : Array(ServerInterceptor), base : UnaryServerCall) : UnaryServerCall
build_server_chain wraps base with interceptors. Returns a single call proc that runs interceptors[0] first.
build_server_chain(interceptors : Array(ServerInterceptor), base : ServerStreamServerCall) : ServerStreamServerCall
Source