IceRPC + Slice integration

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

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 response (resp. outgoing request) with the encoded stream argument resp. stream return value, if any.

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 ServiceAddress

A service address is encoded as a URI [string]. This URI can be absolute or relative. [Endpoint]: /icerpc-for-ice-users/rpc-core/endpoint [ice protocol]: /icerpc/ice-protocol/protocol-frames#encapsulation [outgoing request]: /icerpc/invocation/outgoing-request [outgoing response]: /icerpc/dispatch/outgoing-response [service address]: /icerpc/invocation/service-address [string]: primitive-types#String

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.