icerockdev / moko-network

Network components with codegeneration of rest api for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev
Apache License 2.0
151 stars 29 forks source link

Make HttpExceptionParser interface a functional interface #81

Closed dalewking closed 3 years ago

dalewking commented 3 years ago

To allow implementing this SAM interface using a lambda this should be declared as a fun interface. See https://jorgecastillo.dev/kotlin-sam-conversions

Alex009 commented 3 years ago

will be in 0.11.0