Http2.allowed: def of bend-kit-http2@0.4.0.0 Import: import bend-kit-http2@0.4.0.0/http2.bend as Http2 Lines 219-243 of bend-kit-http2@0.4.0.0/http2.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http2@0.4.0.0/http2.bend&start_line=219&end_line=243 import Base # max is the peer's SETTINGS_MAX_FRAME_SIZE, initially 16384. def allowed(+kind: U32) -> U32: match kind: case 0: 9 case 1: 45 case 2: 0 case 3: 0 case 4: 1 case 5: 12 case 6: 1 case 7: 0 case 8: 0 case 9: 4 case _: 255 Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil