Patch

zio.http.Response.Patch
See thePatch companion trait
object Patch

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Patch.type

Members list

Type members

Classlikes

final case class AddHeaders(headers: Headers) extends Patch

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Patch
class Object
trait Matchable
class Any
Show all
final case class Combine(left: Patch, right: Patch) extends Patch

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Patch
class Object
trait Matchable
class Any
Show all
case object Empty extends Patch

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Patch
class Object
trait Matchable
class Any
Show all
Self type
Empty.type
final case class RemoveHeaders(headers: Set[String]) extends Patch

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Patch
class Object
trait Matchable
class Any
Show all
final case class SetStatus(status: Status) extends Patch

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Patch
class Object
trait Matchable
class Any
Show all
final case class UpdateHeaders(f: Headers => Headers) extends Patch

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Patch
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def addHeader(headerType: HeaderType)(value: HeaderValue): Patch
def addHeader(header: Header): Patch
def addHeader(name: CharSequence, value: CharSequence): Patch
def addHeaders(headers: Headers): Patch
def empty: Patch
def removeHeaders(headerTypes: Set[HeaderType]): Patch
def status(status: Status): Patch