tonic
tonic copied to clipboard
feat: Add `apply_interceptor` method for additional service configura…
…tion
This commit introduces the apply_interceptor method, which allows for additional configuration options like accept_compressed, send_compressed, max_decoding_message_size, and max_encoding_message_size when applying an interceptor.
Motivation
- The new method provides flexibility for users needing more control over service configuration.
Solution
- The existing
with_interceptormethod remains unchanged to maintain backward compatibility.