Skip to content

Type Alias: HttpBody ​

ts
type HttpBody = 
  | string
  | {
  json: unknown;
}
  | {
  base64: string;
}
  | {
  document: string;
}
  | {
  multipart: HttpMultipartPart[];
};

A request body: text, JSON, base64 bytes, a document of the tenant (its id; the host streams the bytes, which never enter the module) or a multipart form of values and documents.

Released under the Apache-2.0 License.