Builder
We may need to pass some compulsory values to the builder. Mandatory param values are part of the constructor.
Parameters
app Name
mandatory param for the current app name that is using the client
app Version
mandatory param for the current app version of client
Properties
Functions
Link copied to clipboard
should log https requests
Link copied to clipboard
set HttpTimeout connection Timeout in Millis If not set, it will default to CONNECTION_TIME_OUT_MILLIS in constant as default
Link copied to clipboard
set the build enviroment if not set, it will default to Environment.STAGING as default
Link copied to clipboard
Ktor url builder must provide a protocol else it defaults to HTTP. Client can only need to send us the url path.
Link copied to clipboard
all our optional values
Link copied to clipboard
set HttpTimeout request Timeout in Millis