Response

kreuzberg.rpc.Response
See theResponse companion class
object Response

Attributes

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

Members list

Type members

Classlikes

case class StatusCodeExtractor(statusCode: Int)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
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 build[T](in: T)(using e: Encoder[T]): Response

Build a response from a value. StatusCode will be set, if field statusCode is set.

Build a response from a value. StatusCode will be set, if field statusCode is set.

Attributes

def forceJsonString(json: String): Response
def fromJson(json: Json): Response
def fromJsonString(json: String): Either[CodecError, Response]