All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ecwid.apiclient.v3.httptransport.HttpResponse.kt Maven / Gradle / Ivy

The newest version!
package com.ecwid.apiclient.v3.httptransport

sealed class HttpResponse(val responseBytes: ByteArray) {
	class Success(responseBytes: ByteArray) : HttpResponse(responseBytes)
	class Error(val statusCode: Int, val reasonPhrase: String, responseBytes: ByteArray) : HttpResponse(responseBytes)
	class TransportError(val exception: Exception) : HttpResponse(ByteArray(0))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy