Optionalfixup: (value: T) => voidIssue an HTTP request and return a Future that resolves with the parsed
response body and headers. parseHeaders converts the response's global
Headers into the typed header value H. fixup runs synchronously on
the parsed body before the Future resolves, exactly as in callWithOptions.
Optionalfixup: (value: T) => voidIssue an HTTP request and return a Future that resolves with just the
response headers, converted by parseHeaders. For no-body (e.g. 204)
operations that still carry typed response headers.
Open a Server-Sent Events stream. Returns a handle whose events async
iterable yields each parsed event; abort ends the stream. On a clean
server close the connection is transparently re-established (resuming from
the last event id); 4xx (except 429) are fatal, 429/5xx are retried.
Optionalfixup: (value: T) => void
Issue an HTTP request and return a Future that resolves with the parsed response body.
fixupruns synchronously on the parsed body before the Future resolves (e.g.Type.fixupPrototypeto restore class prototypes on plain JSON). Rejecting the returned Future (e.g. viaCancelSignal.guard) aborts the in-flight request on the wire.