IceRPC + Slice integration

Understand how the IceRPC + Slice integration applies the Slice encoding rules.

A service address is represented in Slice by the custom type IceRpc::ServiceAddress:

slice
mode = Slice1
[cs::namespace("IceRpc.Slice")]
module IceRpc
/// Represents the address of an RPC service that can be called using ice or icerpc. This custom type is
/// compatible with both Slice1 and Slice2.
[cs::type("IceRpc.ServiceAddress")]
custom ServiceAddress

Was this page helpful?

CookiesYour privacy
This website uses cookies to analyze traffic and improve your experience.
By clicking "Accept," you consent to the use of these cookies. You can learn more about our cookies policy in our Privacy Policy.