Core
struct.blob
Struct that accepts a Blob.
@defjs/core · Function
Signature
function blob(): Struct<Blob, Blob>;
-
Accepts a
Blob(aFileis aBlob). Anything else fails withinvalid_type. -
As a body root it is sent as is, with the blob's own type or
application/octet-stream. -
As an
outputorerrorstruct it makes the response body be read as aBlob.