Endpoint

jsonrpclib.Endpoint
See theEndpoint companion trait
object Endpoint

Attributes

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

Members list

Type members

Classlikes

final case class NotificationEndpoint[F[_], In](method: MethodPattern, run: (InputMessage, In) => F[Unit], inCodec: Codec[In]) extends Endpoint[F]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Endpoint[F]
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
final case class RequestResponseEndpoint[F[_], In, Err, Out](method: Method, run: (InputMessage, In) => F[Either[Err, Out]], inCodec: Codec[In], errCodec: ErrorCodec[Err], outCodec: Codec[Out]) extends Endpoint[F]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Endpoint[F]
class Object
trait Matchable
class Any
Show all

Types

type Method = String
type MethodPattern = String

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 apply[F[_]](method: Method): PartiallyAppliedEndpoint[F]