Builder
class Builder
Content copied to clipboard
Builder class for Ktorfit.
See also
Constructors
Functions
http Client
Link copied to clipboard
Client that will be used for every request with object
Build HttpClient by just passing an engine
fun httpClient(config: <ERROR CLASS><out <ERROR CLASS>>.() -> Unit): <ERROR CLASS>
Content copied to clipboard
Client-Builder that will be used for every request with object
fun httpClient(engine: <ERROR CLASS>, config: <ERROR CLASS><out <ERROR CLASS>>.() -> Unit): <ERROR CLASS>
Content copied to clipboard
Client-Builder with engine that will be used for every request with object
response Converter
Link copied to clipboard
fun responseConverter(vararg converters: CoreResponseConverter): <ERROR CLASS>
Content copied to clipboard
Use this to add ResponseConverter or SuspendResponseConverter for unsupported return types of requests