Skip to content

Tutorials

These tutorials walk you through using the SLIM SDK step by step — from establishing a connection to calling remote services with SLIMRPC. Each tutorial builds on the previous one, so work through them in order.

Tutorials include code examples for Python, Go, Java, Kotlin, Node.js, .NET, and React Native where supported.

Prerequisites

All tutorials assume you have the SLIM SDK installed. See Installation for setup instructions for your language.

SDK Tutorials

Tutorial What you'll learn
Connecting to SLIM Configure a SLIM client and connect to a node
Creating an App Register a named identity on the SLIM network
Creating a Session Open P2P and group sessions, send messages, and configure reliability and encryption
Receiving a Session Listen for incoming sessions, receive messages, and reply
Session Persistence and Restore Persist session state across restarts and resume group sessions without re-inviting

SLIMRPC Tutorials

Tutorial What you'll learn
Serving a SLIMRPC Server Define a proto, generate stubs, implement handlers, and serve
Using a SLIMRPC Server Create a channel and call all four streaming patterns
Multicast SLIMRPC Fan out a single RPC call to multiple servers and collect per-server responses