Class FeaturePipelineExtensions
- Namespace
- IceRpc
- Assembly
- IceRpc.dll
Provides an extension method for Pipeline to add an interceptor that sets a feature in all requests.
public static class FeaturePipelineExtensions
- Inheritance
-
FeaturePipelineExtensions
- Inherited Members
Methods
UseFeature<TFeature>(Pipeline, TFeature)
Adds an interceptor that sets a feature in all requests.
public static Pipeline UseFeature<TFeature>(this Pipeline pipeline, TFeature feature)
Parameters
pipeline
PipelineThe pipeline being configured.
feature
TFeatureThe value of the feature to set.
Returns
- Pipeline
The pipeline being configured.
Type Parameters
TFeature
The type of the feature.