This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk / RequestBodySummary

RequestBodySummary ​

Summary of the body of a multipart request (FormData), for RequestHookContext.body.

Properties ​

fields ​

fields: FormDataFieldSummary[]

Fields, in the order they were appended.


kind ​

kind: string & object | "form-data"

Body format. Today only form-data is summarized; JSON bodies never reach the hooks. An open union: a future version may summarize another format, so handle an unknown kind (e.g. log only the kind and ignore fields).