Network Request Data
class NetworkRequestData<Response : @Serializable Any>(val components: NetworkRequestData.Components? = null, val url: URI? = null, var method: NetworkRequestData.HttpMethod = HttpMethod.GET, var requestId: String = UUID.randomUUID().toString(), var isForDebugging: Boolean = false, val factory: suspend (isForDebugging: Boolean, requestId: String) -> Map<String, String>)(source)
Constructors
Link copied to clipboard
constructor(components: NetworkRequestData.Components? = null, url: URI? = null, method: NetworkRequestData.HttpMethod = HttpMethod.GET, requestId: String = UUID.randomUUID().toString(), isForDebugging: Boolean = false, factory: suspend (isForDebugging: Boolean, requestId: String) -> Map<String, String>)
Types
Link copied to clipboard
data class Components(var scheme: String? = Api.scheme, val host: String? = null, val path: String, var queryItems: List<URLQueryItem>? = null, var bodyData: ByteArray? = null)
Link copied to clipboard