def client.continuation.expected

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

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

1158def client.continuation.expected(m: Maybe<&2, U32>, +kind: U32, id: U32) -> Bool:
1159  match m:
1160    case None{}:
1161      U32.is_ne(kind, 9)
1162    case Some{expected}:
1163      Bool.and(U32.is_eq(kind, 9), U32.is_eq(expected, id))

Uses (6)

Used by (1)