ResponseWriters

zhttp.ResponseWriters$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def genResponseContentTypeFileHeader(fpath: String, cont_type: String): String
def writeBLOBtoChannel(c: IOChannel, chunkSize: Int, contentType: String, fpath: File): ZIO[Any, Exception, Unit]
def writeFullResponse(c: IOChannel, rs: Response, code: StatusCode, msg: String, close: Boolean): Task[Int]
def writeFullResponseBytes(c: IOChannel, rs: Response, code: StatusCode, data: Chunk[Byte], close: Boolean): Task[Int]
def writeFullResponseFromStream[MyEnv](c: IOChannel, rs: Response): ZIO[MyEnv, Throwable, Unit]
def writeNoBodyResponse(c: IOChannel, code: StatusCode, msg: String, close: Boolean): Task[Int]
def writeResponseMethodNotAllowed(c: IOChannel, allow: String): Task[Int]
def writeResponseRedirect(c: IOChannel, location: String): Task[Int]

Concrete fields

final val CRLF: "\r\n"
final val TAG: "zio-nio-tls-http"