def client.apply.checked

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

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

1196def client.apply.checked(valid: Bool, kind: U32, flags: U32, id: U32,
1197    payload: Bytes.Bytes, c: Client) -> Reply:
1198  match valid:
1199    case False{}:
1200      client.fail(1, True{}, 0)
1201    case True{}:
1202      client.apply.frame(kind, flags, id, payload, c)

Uses (7)

Used by (1)