Skip to main content

Function: put()

Issue an HTTP PUT (full-resource replace). Convenience wrapper around fetcher.

Call Signature

put<T>(url, body?, options?, params?): Effect<T, FetcherValidationError | FetcherError, HttpClient>
Defined in: packages/http/src/fetcher.ts:643

Type Parameters

T

T = unknown

Parameters

url

string

body?

any

options?

FetcherOptions<T>

params?

Returns

Effect<T, FetcherValidationError | FetcherError, HttpClient>

Call Signature

put<S>(url, body, options, params?): Effect<Type<S>, FetcherValidationError | FetcherError, HttpClient>
Defined in: packages/http/src/fetcher.ts:650

Type Parameters

S

S extends SyncSchema<Type<S>>

Parameters

url

string

body

any

options

FetcherOptions<Type<S>> & object

params?

Returns

Effect<Type<S>, FetcherValidationError | FetcherError, HttpClient>