rpc

package rpc

Members list

Packages

package rpc.macros

Type members

Classlikes

final case class MethodCall(id: Int, name: String, inputJson: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait MethodCodec[Service, Input, Output]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object MethodCodec

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
final case class MethodResponse(id: Int, value: Value)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class RpcRoutes[Service](service: Service)(using codec: ServiceCodec[Service])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait ServiceCodec[Service]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object ServiceCodec

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
object unitDecoder extends JsonDecoder[Unit]

Attributes

Supertypes
trait JsonDecoder[Unit]
trait JsonDecoderPlatformSpecific[Unit]
class Object
trait Matchable
class Any
Self type
object unitEncoder extends JsonEncoder[Unit]

Attributes

Supertypes
trait JsonEncoder[Unit]
trait JsonEncoderPlatformSpecific[Unit]
class Object
trait Matchable
class Any
Self type

Types

type Effect[A] = Task[A]
type Streamed[A] = ZStream[Any, Throwable, A]

Givens

Givens

given unitCodec: JsonCodec[Unit]