def form

bend-kit-multipart@0.3.0.0 · multipart.bend:309

import bend-kit-multipart@0.3.0.0/multipart.bend as Multipart
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

309# The Content-Type value and body for parts, under a fresh random boundary.
310# Fails with the random source's error, or EINVAL (22) when encode fails.
311def form(parts: List<&1, Part>) -> IO(Result<&1, &1, U32 & String, String & Bytes.Bytes>):
312  do IO<Result<&1, &1, U32 & String, String & Bytes.Bytes>>:
313    r : Result<&1, &1, U32 & String, String> <- boundary.new()
314    return form.of(r, parts)

Uses (12)

Used by (0)

No other definition uses this definition.