Skip to content

CoreHandlerOptions

Defined in: types.ts:253

Core handler options

bridge: Bridge

Defined in: types.ts:257

Bridge instance connecting frontend and backend adapters


optional cors: CORSOptions

Defined in: types.ts:262

CORS configuration


optional headers: Record<string, string>

Defined in: types.ts:277

Custom response headers


optional log: (message, …args) => void

Defined in: types.ts:307

Log function

string

any[]

void


optional logging: boolean

Defined in: types.ts:302

Enable request/response logging


optional maxBodySize: number

Defined in: types.ts:312

Maximum request body size in bytes


optional onError: GenericErrorHandler

Defined in: types.ts:272

Error handler


optional pathPrefix: string

Defined in: types.ts:287

Path prefix for all routes


optional rateLimit: GenericRateLimitOptions

Defined in: types.ts:292

Rate limiting configuration


optional routes: RouteConfig[]

Defined in: types.ts:297

Route configurations for multi-endpoint support


optional streaming: boolean

Defined in: types.ts:317

Enable streaming support


optional timeout: number

Defined in: types.ts:282

Request timeout in milliseconds


optional validateAuth: GenericAuthValidator

Defined in: types.ts:267

Authentication validator