HeaderBasedFraming

ch.linkyard.mcp.jsonrpc2.transport.HeaderBasedFraming

Splits/Parses streams of framing via headers (Content-Length headers)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def parseFrames[F[_]]: (F, Byte) => String

Pipe that parses a stream of bytes into JSON message strings using Content-Length framing.

Pipe that parses a stream of bytes into JSON message strings using Content-Length framing.

Attributes

def parseFramesString[F[_]]: (F, String) => String

Pipe that parses a stream of strings into JSON message strings using Content-Length framing.

Pipe that parses a stream of strings into JSON message strings using Content-Length framing.

Attributes

def writeFrames[F[_]]: (F, String) => Byte

Pipe that takes JSON message strings and emits bytes with Content-Length framing.

Pipe that takes JSON message strings and emits bytes with Content-Length framing.

Attributes