jsonrpclib
package jsonrpclib
Members list
Type members
Classlikes
object CallId
object Channel
final case class ConflictingMethodError(name: String) extends Exception
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Represents a JSON-RPC method handler that can be invoked by the server.
Represents a JSON-RPC method handler that can be invoked by the server.
An Endpoint[F]
defines how to decode input from a JSON-RPC message, execute some effectful logic, and optionally return a response.
The endpoint's method
field is used to match incoming JSON-RPC requests.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object Endpoint
trait ErrorCodec[E] extends ErrorDecoder[E], ErrorEncoder[E]
Attributes
- Companion
- object
- Supertypes
object ErrorCodec
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ErrorCodec.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ErrorCodec[E]
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ErrorCodec[E]
case class ErrorPayload(code: Int, message: String, data: Option[Payload]) extends Throwable
Attributes
- Companion
- object
- Supertypes
-
trait Producttrait Equalsclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
object ErrorPayload
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ErrorPayload.type
Errors that should not be sent back through the json rpc channel (such as invalid notifications)
Errors that should not be sent back through the json rpc channel (such as invalid notifications)
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
sealed trait InputMessage extends Message
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class NotificationMessageclass RequestMessage
object InputMessage
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
InputMessage.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait InputMessageclass NotificationMessageclass RequestMessagetrait OutputMessageclass ErrorMessageclass ResponseMessageShow all
object Message
object Monadic
sealed trait OutputMessage extends Message
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class ErrorMessageclass ResponseMessage
object OutputMessage
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
OutputMessage.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Payload
A polymorphic natural transformation from F[_]
to G[_]
.
A polymorphic natural transformation from F[_]
to G[_]
.
Type parameters
- F
-
Source effect type
- G
-
Target effect type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
sealed abstract class ProtocolError(val code: Int, message: String) extends Throwable
Attributes
- Companion
- object
- Supertypes
-
class Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
-
class InternalErrorclass InvalidParamsclass InvalidRequestclass MethodNotFoundclass ParseErrorclass ServerErrorShow all
object ProtocolError
Attributes
- Companion
- class
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ProtocolError.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class NotificationTemplate[In]
object StubTemplate
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
StubTemplate.type
In this article