Core Library0.xAPI Reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

class libtmux-raku latest

Control.Decoder

Incremental LF framing with exact response guards and bounded retained data.

Source and package
Qualified name
LibTmux::Control::Decoder
Module
LibTmux
Declared in
Control
Package
LibTmux
Source
lib/LibTmux/Control.rakumod
Anonymous class

Description#

Incremental LF framing with exact response guards and bounded retained data.

Members7#

  • clone method Refuse cloning; retain this value or construct a fresh decoder.
  • feed method Return complete events/responses in arrival order; partial records stay bounded.
  • finish method EOF is valid only between complete notifications and command blocks.
  • max-chunk-bytes: Positive:D property Maximum bytes accepted in one feed call.
  • max-frames: Positive:D property Maximum completed frames emitted by one feed call.
  • max-line-bytes: Positive:D property Maximum incomplete or complete physical control line length in bytes.
  • max-response-bytes: Positive:D property Maximum payload bytes retained inside one response block.
Esc

Type to search.

Reference previewOpen reference