LSP

object LSP
class Object
trait Matchable
class Any
LSP.type

Value members

Concrete methods

def readStream[F[_] : MonadThrow](bytes: Stream[F, Byte]): Stream[F, 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 writeSink[F[_] : Concurrent](writePipe: (F, Byte) => Nothing, bufferSize: Int): Stream[F, Payload => F[Unit]]