Namespace IceRpc.Slice
Provides support for the IceRPC + Slice integration. The Slice compiler for C# generates code for Slice interfaces that relies on these APIs.
Classes
- AsyncEnumerableExtensions
Provides an extension method for IAsyncEnumerable<T> to encode elements into a PipeReader.
- IncomingRequestExtensions
Provides extension methods for IncomingRequest to decode its Slice-encoded payload.
- IncomingResponseExtensions
Provides extension methods for IncomingResponse to decode its Slice-encoded payload.
- PipeReaderExtensions
Provides extension methods for PipeReader to decode streamed elements.
- ProxyExtensions
Provides extension methods for IProxy and generated proxy structs that implement this interface.
- ProxySliceDecoderExtensions
Provides extension methods for SliceDecoder to decode proxies.
- ServiceAddressSliceDecoderExtensions
Provides extension methods for SliceDecoder to decode service addresses.
- ServiceAddressSliceEncoderExtensions
Provides extension methods for SliceEncoder to encode service addresses.
- SliceEncodeOptions
Represents a property bag used to configure the encoding of payloads.
- SliceEncodingExtensions
Provides an extension method for SliceEncoding to create an empty struct payload.
- SliceFeature
Default implementation of ISliceFeature.
- SliceServiceAttribute
Instructs the Slice Service source generator to implement IDispatcher by generating an implementation of DispatchAsync(IncomingRequest, CancellationToken) in the class on which this attribute is applied. Make sure to mark your class as partial when you apply this attribute. Your class should also implement one or more interface
INameService
(generated by the Slice compiler). TheDispatchAsync
produced by the source generator dispatches to the appropriate method based on the operation name carried by the incoming request.
- SliceServiceProviderExtensions
Provides extension methods for IServiceProvider to create Slice proxies.
Interfaces
- IProxy
Represents a local ambassador for a remote service.
- ISliceFeature
Represents a feature used to customize the encoding and decoding of request and response payloads.
Delegates
- ResponseDecodeFunc
Represents a delegate that decodes the "void" return value from a Slice-encoded response.
- ResponseDecodeFunc<T>
Represents a delegate that decodes the return value from a Slice-encoded response.