def pool.h2.ex

bend-kit-http@0.38.2.0 · http.bend:3706

import bend-kit-http@0.38.2.0/http.bend as Http
import Base
import bend-kit-http2@0.4.0.0/http2.bend as H2

3706def pool.h2.ex(p: Pool, +key: String, +ms: U32, request: Send,
3707    s: Socket, client: H2.Client) -> IO(Pool & Result<&1, &1, Err, Res>):
3708  do IO<Pool & Result<&1, &1, Err, Res>>:
3709    r : Result<&1, &1, Err, Conn & Res> <- h2.exchange(s, client, ms, request)
3710    pool.h2.result(p, key, r)

Uses (15)

Used by (2)