Use Feign with Kotlin coroutines
This is fork of reactive feign client(https://github.com/Playtika/feign-reactive) with coroutine support
Write Feign API as usual, but every method of interface
- may accept
org.reactivestreams.Publisher
as body - must return
reactor.core.publisher.Mono
orreactor.core.publisher.Flux
or to besuspend
- if method is
suspend
you can return simple type without wrapping it toMono
orFlux
Library distributed under Apache License Version 2.0.