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
Future: factory helpers for common transport configurations may allow TransportSpec to be used without manually constructing a transport implementation.