Response

zio.http.Response
See theResponse companion class
object Response

Attributes

Companion
class
Source
Response.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Response.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def json(body: String): Response

Attributes

Source
Response.scala
def json(status: Status, body: String): Response

Attributes

Source
Response.scala
def ok(body: Body): Response

Attributes

Source
Response.scala
def redirect(location: String, isPermanent: Boolean = ...): Response

Attributes

Source
Response.scala
def seeOther(location: String): Response

Attributes

Source
Response.scala
def text(body: String): Response

Attributes

Source
Response.scala
def text(status: Status, body: String): Response

Attributes

Source
Response.scala

Concrete fields

Attributes

Source
Response.scala

Attributes

Source
Response.scala

Attributes

Source
Response.scala
val ok: Response

Attributes

Source
Response.scala

Attributes

Source
Response.scala

Attributes

Source
Response.scala