StubTemplate

jsonrpclib.StubTemplate
See theStubTemplate companion trait
object StubTemplate

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Keywords
  • no keywords
  • case
  • final
Inherited
  • Not inherited
  • Mirror

Type members

Classlikes

final case class NotificationTemplate[In](method: String, inCodec: Codec[In]) extends StubTemplate[In, Nothing, Unit]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StubTemplate[In, Nothing, Unit]
class Object
trait Matchable
class Any
Show all
final case class RequestResponseTemplate[In, Err, Out](method: String, inCodec: Codec[In], errCodec: ErrorCodec[Err], outCodec: Codec[Out]) extends StubTemplate[In, Err, Out]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StubTemplate[In, Err, Out]
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 notification[In](method: String)(implicit inCodec: Codec[In]): StubTemplate[In, Nothing, Unit]
def simple[In, Out](method: String)(implicit inCodec: Codec[In], outCodec: Codec[Out]): StubTemplate[In, ErrorPayload, Out]