GrpcResponse

expect class GrpcResponse
actual class GrpcResponse
actual typealias GrpcResponse = Response
actual class GrpcResponse

Constructors

Link copied to clipboard
constructor()
constructor()

Properties

Link copied to clipboard
@get:JvmName(name = "body")
expect val body: GrpcResponseBody?
actual val body: GrpcResponseBody?
actual val body: GrpcResponseBody?

Functions

Link copied to clipboard
expect fun close()
actual fun close()
actual fun close()
Link copied to clipboard
expect fun header(name: String, defaultValue: String? = null): String?
actual fun header(name: String, defaultValue: String?): String?
actual fun header(name: String, defaultValue: String?): String?
Link copied to clipboard
expect fun trailers(): GrpcHeaders
actual fun trailers(): GrpcHeaders
actual fun trailers(): GrpcHeaders