Binary

zio.http.forms.FormData$.Binary
final case class Binary(name: String, data: Chunk[Byte], contentType: MediaType, transferEncoding: Option[ContentTransferEncoding], filename: Option[String]) extends FormData

A binary form data part.

Attributes

contentType

The content type of this form data part. This is the value of the Content-Type with in this part.

data

The data of this form data part. This is the data between the headers and the boundary.

name

Name of this form data part. This is the value of the name field in the Content-Disposition within this part.

transferEncoding

The transfer encoding of this form data part. This is the value of the Content-Transfer-Encoding within this part. IMPORTANT NOTE: The data is not encoded in any way relative to the provided transferEncoding. It is the responsibility of the user to encode the data accordingly.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait FormData
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
FormData