Function
raw
(body: unknown, options?: {
readonly contentType?: string | undefined
readonly contentLength?: number | undefined
})
Source from the content-addressed store, hash-verified
| 76 | |
| 77 | /** @internal */ |
| 78 | export const raw = (body: unknown, options?: { |
| 79 | readonly contentType?: string | undefined |
| 80 | readonly contentLength?: number | undefined |
| 81 | }): Body.Raw => new RawImpl(body, options?.contentType, options?.contentLength) |
| 82 | |
| 83 | class Uint8ArrayImpl extends BodyBase implements Body.Uint8Array { |
| 84 | readonly _tag = "Uint8Array" |
Tested by
no test coverage detected