Http.h2.idle.read: def of bend-kit-http@0.38.4.0 Import: import bend-kit-http@0.38.4.0/http.bend as Http Lines 3623-3631 of bend-kit-http@0.38.4.0/http.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http@0.38.4.0/http.bend&start_line=3623&end_line=3631 import Base import bend-kit-http2@0.4.0.0/http2.bend as H2 import bend-kit-bytes@0.3.3.0/bytes.bend as HBytes def h2.idle.read(client: H2.Client, got: Socket & Result<&1, &1, U32 & String, U32 & Array>) -> IO(Took): match got: case (s, Fail{e}): IO.pure(Took, TookSeen{False{}, ConnH2{s, client}}) case (s, Done{(0, buf)}): IO.pure(Took, TookSeen{False{}, ConnH2{s, client}}) case (s, Done{(+len, buf)}): h2.idle.reply(s, H2.client.receive(client, HBytes.Bytes{len, buf})) Uses (18): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Socket https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String 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 https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/http2.bend&name=Client https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/http2.bend&name=client.receive https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=Conn https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=Took https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=h2.idle.reply