Request overview
Added in v1.0.0
Table of contents
combinators
arrayBuffer
Signature
export declare const arrayBuffer: (value: Request) => Effect<ArrayBuffer, DecodeError, never>
Added in v1.0.0
blob
Signature
export declare const blob: (value: Request) => Effect<Blob, DecodeError, never>
Added in v1.0.0
formData
Signature
export declare const formData: (value: Request) => Effect<FormData, DecodeError, never>
Added in v1.0.0
json
Signature
export declare const json: (value: Request) => Effect<any, DecodeError, never>
Added in v1.0.0
text
Signature
export declare const text: (value: Request) => Effect<string, DecodeError, never>
Added in v1.0.0
constructors
make
Signature
export declare const make: (url: string | URL, init?: RequestInit) => HttpRequest
Added in v1.0.0
mapping
appendBody
Signature
export declare const appendBody: (body: Body) => (request: HttpRequest) => Request
Added in v1.0.0
map
Signature
export declare const map: {
<B>(fn: (request: HttpRequest) => B): (request: HttpRequest) => B
<B>(request: HttpRequest, fn: (request: HttpRequest) => B): B
}
Added in v1.0.0