1 min read
IceRPC + Slice integration
Understand how the IceRPC + Slice integration applies the Slice encoding rules.
Payload and payload continuation
The IceRPC + Slice integration fills the payload of an outgoing request resp. outgoing response with the non-stream arguments resp. return value (encoded into a segment).
It fills the payload continuation of an outgoing request (resp. outgoing response) with the encoded stream argument resp. stream return value, if any.
Custom type ServiceAddress
A service address is represented in Slice by the custom type IceRpc::ServiceAddress:
slice
[cs::identifier("IceRpc.Slice")]module IceRpc
/// Represents the address of an RPC service that can be called using ice or icerpc.[cs::type("IceRpc.ServiceAddress")]custom ServiceAddressA service address is encoded as a URI string. This URI can be absolute or relative.