Treatment patch
http/client/util::patch
Parameters
↳ var headers:
Option<Map> = _
(std/data::Map
)
↳ var url:
string
Inputs
⇥ data:
Stream<byte>
Outputs
↦ failure:
Block<string>
↦ headers:
Block<Map>
(std/data::Map
)
↦ status:
Block<HttpStatus>
(http/status::HttpStatus
)
Performs HTTP PATCH operation.
Parameters:
url
: the URL to call PATCH on.headers
: headers to send in request.
Inputs:
data
: data sent in request, corresponding to the HTTP body.
Outputs:
status
: HTTP status response.headers
: headers received in response.failure
: emitted if the request failed technically, containing the failure message.
Also see MDN documentation.