perl-content-length-framing 0.11.0

Shared Content-Length frame parsing and encoding for LSP and DAP transports
Documentation
  • Coverage
  • 92.86%
    13 out of 14 items documented0 out of 6 items with examples
  • Size
  • Source code size: 70.25 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.92 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 16s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • EffortlessMetrics/perl-lsp
    0 1 56
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • EffortlessSteven

perl-content-length-framing

Shared Content-Length frame parsing and encoding for JSON-RPC transports.

Scope

  • Accumulate transport bytes and extract complete Content-Length frames
  • Encode outbound payload bytes into Content-Length framed messages
  • Apply resynchronization guardrails for malformed or desynchronized streams

API

  • ContentLengthFramer::push(bytes)
  • ContentLengthFramer::try_next()
  • frame(body)