def call.of

ezmcp@0.1.0.0 · src/openapi.bend:1278

import ezmcp@0.1.0.0/src/openapi.bend as Openapi
import Base

1278def call.of(
1279  method: String,
1280  +mt: String,
1281  +body: Maybe<&2, String>,
1282  built: Req
1283) -> Call:
1284  match built:
1285    case Req{+path, pairs, hs}:
1286      call.send(String.contains(path, "{"), method, mt, body, path, pairs, hs)

Uses (6)

Used by (1)