chenBright commented on issue #2134: URL: https://github.com/apache/brpc/issues/2134#issuecomment-1442764392
> > 提供全局的注册函数用于注册拦截器。 > > ```c++ > > int RegisterInterceptor(Interceptor* interceptor); > > ``` > > 这个是不是可以放在ServerOptions中? ServerOptions加个std::vector<Interceptor>,是不是不太好呀? 或者ServerOptions加的是Interceptor*,只允许注册一个拦截器。用户的所有策略都在这个拦截器里实现? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
