Skip to content

Commit a8cdd96

Browse files
authored
docs: better README
1 parent d7bc471 commit a8cdd96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ routing setup for larger projects. `rsocket-kotlin-router` serves as a solution
1515
providing a neat and modular approach to managing RSocket routes and not only.
1616

1717
## Example
18-
18+
Here is the small example of how it all works:
1919
```kotlin
2020
internal fun RSocketConnectionAcceptor(
2121
service: YourService,
@@ -54,8 +54,8 @@ internal fun RSocketConnectionAcceptor(
5454
```
5555

5656
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).
5959

6060
### Testing
6161

0 commit comments

Comments
 (0)