//core/com.petersamokhin.vksdk.core.http/Response
Response¶
[common]\ data class Response(code: Int, body: ByteArray?)
Minimal required information about the HTTP request response.
Constructors¶
Response | [common] fun Response(code: Int, body: ByteArray?) |
Types¶
Name | Summary |
---|---|
Companion | [common] object Companion |
Functions¶
Name | Summary |
---|---|
bodyString | [common] fun bodyString(): String Response body string |
equals | [common] open operator override fun equals(other: Any?): Boolean |
hashCode | [common] open override fun hashCode(): Int |
isSuccessful | [common] fun isSuccessful(): Boolean Is this response successful based on the HTTP code |
Properties¶
Name | Summary |
---|---|
body | [common] val body: ByteArray? ByteArray content of the HTTP response |
code | [common] val code: Int HTTP response code |