Package de.jensklingenberg.ktorfit

Types

Call
Link copied to clipboard
interface Call<T>
Callback
Link copied to clipboard
interface Callback<T>
InternalKtorfitApi
Link copied to clipboard
annotation class InternalKtorfitApi
Ktorfit
Link copied to clipboard
class Ktorfit(baseUrl: String, httpClient: HttpClient)

Main class for Ktorfit, create the class than use the create() function.

KtorfitClient
Link copied to clipboard
class KtorfitClient(ktorfit: Ktorfit)
RequestData
Link copied to clipboard
data class RequestData(method: String, relativeUrl: String, headers: Map<String, Any>, queries: Map<String, Any>, fields: Map<String, String>, parts: Map<String, Any>, bodyData: Any?, qualifiedRawTypeName: String, requestBuilder: HttpRequestBuilder.() -> Unit)

Functions

create
Link copied to clipboard
inline fun <T> Ktorfit.create(): T

This will make IntelliJ think that this function exists. The real implementation will be generated by the KSP plugin Ktorfit will return a implementation of type T for a requested interface