getOrpcResult
Reads the serialized
{ json, meta }
body, or the multipart body when the output contains files.
Statuses from 400 up are errors, the same as in oRPC.
Import
import { getOrpcResult } from "@hyper-fetch/orpc"
Source
Package
Parameters
getOrpcResult(__namedParameters: { body: string | FormData; serializer: StandardRPCSerializer; status: number })
Parameters
| Name | Type | Description |
|---|---|---|
| __namedParameters | |
Returns
OrpcResultType

