Uses of Interface
org.microproxy.quic.MessageFramer
Packages that use MessageFramer
-
Uses of MessageFramer in org.microproxy.quic
Methods in org.microproxy.quic that return MessageFramerModifier and TypeMethodDescriptionstatic MessageFramerMessageFramer.crlfLines()Lines that end with a carriage return and a line feed: the payload is the line without them, and they are added after each payload sent.The framer for a connection: that of the first host rule matchinghostorsni, else that of thealpnrule, else that of*.QuicFraming.framerFor(QuicContext connection) The framer for an intercepted connection, by its ALPN, host and SNI.static MessageFramerMessageFramer.lines()Lines that end with a line feed: the payload is the line without it, and a line feed is added after each payload sent (a carriage return before it stays in the payload).static MessageFramerA built-in framer by name:u16,u32,varint,lf(alsolineandnewline) orcrlf.static MessageFramerMessageFramer.u16()A two-byte big-endian length prefix, as DNS over QUIC (RFC 9250 section 4.2) and DNS over TCP frame their messages: payloads up to 65535 bytes.static MessageFramerMessageFramer.u32()A four-byte big-endian length prefix: payloads up to 232 - 1 bytes, bounded byQuicFraming.maxMessageSize().static MessageFramerMessageFramer.varint()A QUIC variable-length integer (RFC 9000 section 16) as the length prefix: one, two, four or eight bytes.Methods in org.microproxy.quic with parameters of type MessageFramerModifier and TypeMethodDescriptionQuicFraming.withFramer(String name, MessageFramer framer) These rules with a framer that rules can name, replacing one of the same name.QuicFraming.withRule(String key, MessageFramer framer) These rules with one more:keyframed byframer, which is given the namekeyamong the framers. -
Uses of MessageFramer in org.microproxy.starlark
Methods in org.microproxy.starlark that return MessageFramerModifier and TypeMethodDescriptionScriptedProxy.quicFramer()AMessageFramerthat asks the script'squic_message_length(data)how long the message at the start of a stream direction's bytes is: an int (the whole message's length, which may be more than the bytes so far), orNoneuntil the bytes say.