-
public final class JniHttpResponseBytesServes as cross layer (Kotlin, Rust) communication class.
-
-
Constructor Summary
Constructors Constructor Description JniHttpResponseBytes(Integer status, String version, Array<JniHttpHeader> headers, ByteArray body)
-
Method Summary
Modifier and Type Method Description final IntegergetStatus()final StringgetVersion()final Array<JniHttpHeader>getHeaders()final ByteArraygetBody()-
-
Constructor Detail
-
JniHttpResponseBytes
JniHttpResponseBytes(Integer status, String version, Array<JniHttpHeader> headers, ByteArray body)
- Parameters:
status- the HTTP status codeversion- the HTTP version of the responsebody- the response body
-
-
Method Detail
-
getVersion
final String getVersion()
-
getHeaders
final Array<JniHttpHeader> getHeaders()
-
-
-
-