Package org.springframework.messaging.rsocket

Functions

connectAndAwait
Link copied to clipboard
suspend fun RSocketRequester.Builder.connectAndAwait(transport: ClientTransport): RSocketRequester
Coroutines variant of RSocketRequester.Builder.connect.
connectTcpAndAwait
Link copied to clipboard
suspend fun RSocketRequester.Builder.connectTcpAndAwait(host: String, port: Int): RSocketRequester
connectWebSocketAndAwait
Link copied to clipboard
suspend fun RSocketRequester.Builder.connectWebSocketAndAwait(uri: URI): RSocketRequester
dataWithType
Link copied to clipboard
inline fun <T : Any> RSocketRequester.RequestSpec.dataWithType(producer: Any): RSocketRequester.RetrieveSpec
Extension for RSocketRequester.RequestSpec.data providing a dataWithType<Foo>(Any) variant leveraging Kotlin reified type parameters.
inline fun <T : Any> RSocketRequester.RequestSpec.dataWithType(flow: Flow<T>): RSocketRequester.RetrieveSpec
Extension for RSocketRequester.RequestSpec.data providing a dataWithType(Flow<T>) variant leveraging Kotlin reified type parameters.
inline fun <T : Any> RSocketRequester.RequestSpec.dataWithType(publisher: Publisher<T>): RSocketRequester.RetrieveSpec
Extension for RSocketRequester.RequestSpec.data providing a dataWithType(Publisher<T>) variant leveraging Kotlin reified type parameters.
metadataToExtract
Link copied to clipboard
inline fun <T : Any> MetadataExtractorRegistry.metadataToExtract(mimeType: MimeType, noinline mapper: (T, MutableMap<String, Any>) -> Unit)
Extension for MetadataExtractorRegistry.metadataToExtract providing a metadataToExtract<Foo>(...) variant leveraging Kotlin reified type parameters.
inline fun <T : Any> MetadataExtractorRegistry.metadataToExtract(mimeType: MimeType, name: String? = null)
Extension for MetadataExtractorRegistry.metadataToExtract providing a metadataToExtract<Foo>(...) variant leveraging Kotlin reified type parameters.
retrieveAndAwait
Link copied to clipboard
inline suspend fun <T : Any> RSocketRequester.RetrieveSpec.retrieveAndAwait(): T
retrieveAndAwaitOrNull
Link copied to clipboard
inline suspend fun <T : Any> RSocketRequester.RetrieveSpec.retrieveAndAwaitOrNull(): T?
Nullable coroutines variant of RSocketRequester.RetrieveSpec.retrieveMono.
retrieveFlow
Link copied to clipboard
inline fun <T : Any> RSocketRequester.RetrieveSpec.retrieveFlow(): Flow<T>
retrieveFlux
Link copied to clipboard
inline fun <T : Any> RSocketRequester.RetrieveSpec.retrieveFlux(): Flux<T>
Extension for RSocketRequester.RetrieveSpec.retrieveFlux providing a retrieveFlux<Foo>() variant leveraging Kotlin reified type parameters.
retrieveMono
Link copied to clipboard
inline fun <T : Any> RSocketRequester.RetrieveSpec.retrieveMono(): Mono<T>
Extension for RSocketRequester.RetrieveSpec.retrieveMono providing a retrieveMono<Foo>() variant leveraging Kotlin reified type parameters.
sendAndAwait
Link copied to clipboard
suspend fun RSocketRequester.RetrieveSpec.sendAndAwait()
Coroutines variant of RSocketRequester.RetrieveSpec.send.