All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.youi.communicate.Method.scala Maven / Gradle / Ivy

package io.youi.communicate

import scala.concurrent.Future

trait Method[Request, Response] extends Invocation {
  def requestPickler: Pickler[Request]
  def responsePickler: Pickler[Response]

  def apply(request: Request): Future[Response]
}

trait ClientMethod[Request, Response] extends Method[Request, Response]

trait ServerMethod[Request, Response] extends Method[Request, Response]




© 2015 - 2025 Weber Informatics LLC | Privacy Policy