ArgEncoder

@implicitNotFound("Cannot find an ArgEncoder for type ${A}.\n\nCaliban needs it to know how to encode arguments of type ${A}.\n")
trait ArgEncoder[-A]

Typeclass that defines how to encode an argument of type A into a valid caliban.client.__Value. Every type that can be passed as an argument needs an instance of ArgEncoder.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def encode(value: A): `__Value`
Implicitly added by list
def encode(value: A): `__Value`
Implicitly added by option
def encode(value: A): `__Value`

Concrete methods

Implicitly added by list
Implicitly added by option