Body

zio.http.Body$
See theBody companion trait
object Body

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Body.type

Members list

Concise view

Type members

Classlikes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def fromAsciiString(asciiString: AsciiString): Body

Helper to create Body from AsciiString

Helper to create Body from AsciiString

Attributes

def fromByteBuf(byteBuf: ByteBuf): Body

Helper to create Body from ByteBuf

Helper to create Body from ByteBuf

Attributes

def fromCharSequence(charSequence: CharSequence, charset: Charset): Body

Helper to create Body from CharSequence

Helper to create Body from CharSequence

Attributes

def fromChunk(data: Chunk[Byte]): Body

Helper to create Body from chunk of bytes

Helper to create Body from chunk of bytes

Attributes

def fromFile(file: File, chunkSize: Int): Body

Helper to create Body from contents of a file

Helper to create Body from contents of a file

Attributes

def fromStream(stream: ZStream[Any, Throwable, CharSequence], charset: Charset)(implicit trace: Trace): Body

Helper to create Body from Stream of string

Helper to create Body from Stream of string

Attributes

def fromStream(stream: ZStream[Any, Throwable, Byte]): Body

Helper to create Body from Stream of bytes

Helper to create Body from Stream of bytes

Attributes

def fromString(text: String, charset: Charset): Body

Helper to create Body from String

Helper to create Body from String

Attributes

Concrete fields

val empty: Body

Helper to create empty Body

Helper to create empty Body

Attributes