def client.goaway

bend-kit-http2@0.4.0.0 · http2.bend:874

import bend-kit-http2@0.4.0.0/http2.bend as Http2
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

874def client.goaway(payload: Bytes.Bytes, c: Client) -> Reply:
875  with_number(Reply, Bytes.get.u32be(payload, 0), b => raw =>
876    with_number(Reply, Bytes.get.u32be(b, 4), rest => code =>
877      client.goaway.body((raw .&. 2147483647 : U32), code, c)))

Uses (8)

Used by (1)