HttpData

object HttpData
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case class ByteBufConfig(chunkSize: Int)

Provides a more fine grained control while encoding HttpData into ByteBUfs

Provides a more fine grained control while encoding HttpData into ByteBUfs

Companion:
object
Companion:
class

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

Helper to create empty HttpData

Helper to create empty HttpData

def fromAsciiString(asciiString: AsciiString): HttpData

Helper to create HttpData from AsciiString

Helper to create HttpData from AsciiString

def fromByteBuf(byteBuf: ByteBuf): HttpData

Helper to create HttpData from ByteBuf

Helper to create HttpData from ByteBuf

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

Helper to create HttpData from CharSequence

Helper to create HttpData from CharSequence

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

Helper to create HttpData from chunk of bytes

Helper to create HttpData from chunk of bytes

def fromFile(file: => File): HttpData

Helper to create HttpData from contents of a file

Helper to create HttpData from contents of a file

def fromStream(stream: ZStream[Any, Throwable, CharSequence], charset: Charset): HttpData

Helper to create HttpData from Stream of string

Helper to create HttpData from Stream of string

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

Helper to create HttpData from Stream of bytes

Helper to create HttpData from Stream of bytes

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

Helper to create HttpData from String

Helper to create HttpData from String