data

external fun <D> data(data: D): DataWithResponseInit<D>(source)
external fun <D> data(data: D, init: Double = definedExternally): DataWithResponseInit<D>(source)
external fun <D> data(data: D, init: ResponseInit = definedExternally): DataWithResponseInit<D>(source)

Create "responses" that contain status/headers without forcing serialization into an actual Response - used by Remix single fetch