Http.conn.idle: def of bend-kit-http@0.38.2.0 Import: import bend-kit-http@0.38.2.0/http.bend as Http Lines 3645-3654 of bend-kit-http@0.38.2.0/http.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http@0.38.2.0/http.bend&start_line=3645&end_line=3654 import Base import bend-kit-wire@0.4.7.0/wire.bend as Wire def conn.idle(c: Conn) -> IO(Took): match c: case Conn{+tls, s}: do IO: r : Socket & Bool <- Wire.idle(s) return took.seen(tls, r) case ConnH2{s, client}: do IO: r : Socket & Bool <- Wire.idle(s) h2.idle.peek(client, r) Uses (11): 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.bind 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=Socket https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=Conn https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=Took https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=h2.idle.peek https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=took.seen https://jend.leeeet.dev/definition.txt?path=bend-kit-wire@0.4.8.0/wire.bend&name=idle