Skip to main content

Function: patch()

Issue an HTTP PATCH (partial update). Convenience wrapper around fetcher.

Call Signature

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

Type Parameters

T

T = unknown

Parameters

url

string

body?

any

options?

FetcherOptions<T>

params?

Returns

Effect<T, FetcherValidationError | FetcherError, HttpClient>

Call Signature

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

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>