Skip to main content
Version: v8.0.0

CreateSdkOptions


Import
import { CreateSdkOptions } from "@hyper-fetch/core"

Preview

type CreateSdkOptions<Schema> = {
camelCaseToKebabCase?: boolean;
defaults?: SdkConfigurationMap<Schema>;
methodTransform?: (method: string) => string;
}

Structure

CreateSdkOptions
NameTypeDescription
camelCaseToKebabCase
boolean
defaults
SdkConfigurationMap<Schema>

Per-endpoint request defaults

methodTransform
(method: string) => string