Bytes

class Bytes(val bytes: ByteArray, val contentType: String, val partName: String?) : HttpHandler.HttpRequest.RequestContentEntry

Bytes content to send with a request.

Parameters

bytes
The input to the HTTP request.

Constructors

Link copied to clipboard
constructor(text: String, contentType: String, partName: String?)
constructor(bytes: ByteArray, contentType: String, partName: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard