Skip to main content
Version: v9.0.0

FetchOrpcAdapterOptionsType


Import
import { FetchOrpcAdapterOptionsType } from "@hyper-fetch/orpc"

Preview​

type FetchOrpcAdapterOptionsType = Omit<RequestInit, (method | headers | body | signal)> & { queryMethod?: OrpcQueryMethod; timeout?: number };

Structure​

FetchOrpcAdapterOptionsType
NameTypeDescription
queryMethod
OrpcQueryMethod

Overrides the queryMethod of the adapter for one request

timeout
number