You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ routing setup for larger projects. `rsocket-kotlin-router` serves as a solution
15
15
providing a neat and modular approach to managing RSocket routes and not only.
16
16
17
17
## Example
18
-
18
+
Here is the small example of how it all works:
19
19
```kotlin
20
20
internalfunRSocketConnectionAcceptor(
21
21
service:YourService,
@@ -54,8 +54,8 @@ internal fun RSocketConnectionAcceptor(
54
54
```
55
55
56
56
So, as you can see, library provides `router` function for `RSocketRequestHandler` context. It has
57
-
a few customization settings for handling routing in your own style. In addition to it, for convenience, library also provides its own interceptors API for
58
-
kotlin coroutines and modifications.
57
+
a few customization settings for handling routing in your own style. In addition to it, for convenience, library also provides its own interceptors API (for processing `Payload`) with
58
+
kotlin coroutines and modifications. You can take a look at them [here](router-core/src/commonMain/kotlin/com.y9vad9.rsocket.router/interceptors/Interceptor.kt).
0 commit comments