transport
Set a pre-built RadioTransport instance directly.
Intended for testing (e.g., FakeRadioTransport) and for transport modules that construct their own transport before passing to the builder.
val fake = FakeRadioTransport(identity = TransportIdentity("fake:test"))
RadioClient.Builder()
.transport(fake)
.storage(InMemoryStorageProvider())
.build()Content copied to clipboard
Phase 2+ will add factory helpers so TransportSpec can be used without providing a transport implementation manually.