---
title: "IceRPC + Slice integration"
description: "Understand how the IceRPC + Slice integration applies the Slice encoding rules."
url: https://docs.icerpc.dev/slice/encoding/icerpc
docs_index: https://docs.icerpc.dev/llms.txt
---

> For an index of every page, see [llms.txt](https://docs.icerpc.dev/llms.txt).

# IceRPC + Slice integration

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

## Payload and payload continuation

*This section is specific to the [IceRPC + Slice integration](https://docs.icerpc.dev/slice.md#slice-and-icerpc).*

The IceRPC + Slice integration fills the payload of an [outgoing request](https://docs.icerpc.dev/icerpc/invocation/outgoing-request.md) resp. [outgoing response](https://docs.icerpc.dev/icerpc/dispatch/outgoing-response.md) 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.

## Proxy

*This section is specific to the [IceRPC + Slice integration](https://docs.icerpc.dev/slice.md#slice-and-icerpc).*

A [proxy](https://docs.icerpc.dev/slice/language-guide/using-proxies-as-slice-types.md) is encoded as a [string](https://docs.icerpc.dev/slice/encoding/primitive-types.md#string) that holds:

- the URI of the proxy's [service address](https://docs.icerpc.dev/icerpc/invocation/service-address.md), such as `icerpc://widgets.example.com/widget/7`, or
- the percent-escaped path of the proxy, such as `/widget/my%20widget`, when the proxy is a [relative proxy](https://docs.icerpc.dev/slice/language-guide/using-proxies-as-slice-types.md#relative-proxy)

The first character of this string distinguishes the two forms: a path starts with `/`.
