Endpoint

liewhite.rpc.Endpoint
class Endpoint[IN, OUT](val route: String)(implicit evidence$1: Schema[IN], evidence$2: Schema[OUT])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def call(req: IN, timeout: Duration): ZIO[RpcClient, Throwable, OUT]
def listen(callback: IN => Task[OUT]): ZIO[RpcServer & Scope, Throwable, Unit]
def send(req: IN): ZIO[RpcClient, Throwable, Unit]

Concrete fields

val route: String