lsp

object lsp
class Object
trait Matchable
class Any
lsp.type

Value members

Concrete methods

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

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