Last active
November 19, 2019 18:05
-
-
Save RoRoche/85a78afa23db33102d67136c89e228e5 to your computer and use it in GitHub Desktop.
Kotlin interface for RestRequest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import okhttp3.Response | |
interface RestRequest { | |
fun response(): Response | |
fun cancel() | |
abstract class Wrap protected constructor( | |
protected val origin: RestRequest | |
) : RestRequest by origin | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment