Function tonic::service::interceptor

source ·
pub fn interceptor<F>(f: F) -> InterceptorLayer<F>
where F: Interceptor,
Expand description

Create a new interceptor layer.

See Interceptor for more details.