Custom

zio.http.Status.Custom
final case class Custom(code: Int, reasonPhrase: String = ...) extends Status

Attributes

Source
Status.scala
Graph
Supertypes
trait Status
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Status
Source
Status.scala

Attributes

Inherited from:
Status
Source
Status.scala

Attributes

Inherited from:
Status
Source
Status.scala

Attributes

Inherited from:
Status
Source
Status.scala

Attributes

Inherited from:
Status
Source
Status.scala

Attributes

Inherited from:
Status
Source
Status.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Returns a Response with empty data and no headers.

Returns a Response with empty data and no headers.

Attributes

Inherited from:
Status
Source
Status.scala
def toRoutes(implicit trace: Trace): Routes[Any, Nothing]

Returns a Routes[Any, Nothing] that responses with this http status code.

Returns a Routes[Any, Nothing] that responses with this http status code.

Attributes

Inherited from:
Status
Source
Status.scala

Inherited fields

lazy val text: String

Attributes

Inherited from:
Status
Source
Status.scala