jsonrpclib.fs2

package jsonrpclib.fs2

Members list

Type members

Classlikes

A cancelation template that represents the RPC method by which cancelation

A cancelation template that represents the RPC method by which cancelation

Value parameters

fromCallId

: a function to create a cancelation request out of a call id

template

: the notification template for the cancelation method

toCallId

: a function to extract a call id from a cancelation request

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait FS2Channel[F[_]] extends Channel[F]

A JSON-RPC communication channel built on top of fs2.Stream.

A JSON-RPC communication channel built on top of fs2.Stream.

FS2Channel[F] enables streaming JSON-RPC messages into and out of an effectful system. It provides methods to register handlers (Endpoint[F]) for specific method names.

This is the primary server-side integration point for using JSON-RPC over FS2.

Attributes

Companion
object
Supertypes
trait Channel[F]
class Object
trait Matchable
class Any
object FS2Channel

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
FS2Channel.type
object lsp

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
lsp.type

Implicits

Implicits

implicit def catsMonadic[F[_] : MonadThrow]: Monadic[F]