MCPcopy Index your code
hub / github.com/Effect-TS/effect / raw

Function raw

packages/platform/src/internal/httpBody.ts:78–81  ·  view source on GitHub ↗
(body: unknown, options?: {
  readonly contentType?: string | undefined
  readonly contentLength?: number | undefined
})

Source from the content-addressed store, hash-verified

76
77/** @internal */
78export 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
83class Uint8ArrayImpl extends BodyBase implements Body.Uint8Array {
84 readonly _tag = "Uint8Array"

Callers 1

goMemoFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected