lsp

jsonrpclib.fs2.lsp
object lsp

Attributes

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

Members list

Value members

Concrete methods

def decodeMessages[F[_] : MonadThrow]: (F, Byte) => Either[ProtocolError, Message]
def decodePayloads[F[_] : MonadThrow]: (F, Byte) => Payload

Split a stream of bytes into payloads by extracting each frame based on information contained in the headers.

Split a stream of bytes into payloads by extracting each frame based on information contained in the headers.

See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#contentPart

Attributes

def encodeMessages[F[_]]: (F, Message) => Byte
def encodePayloads[F[_]]: (F, Payload) => Byte