HonoBackendOptionsBuilder
Defined in: src/http/backend/HonoBackendOptions.ts:34
Fluent builder for HonoBackendOptionsType.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HonoBackendOptionsBuilder():
HonoBackendOptionsBuilder
Returns
Section titled “Returns”HonoBackendOptionsBuilder
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”build()
Section titled “build()”build():
Partial<T>
Defined in: src/util/OptionsBuilder.ts:51
Snapshot the set fields as an independent Partial<T> (own props only).
Returns
Section titled “Returns”Partial<T>
Inherited from
Section titled “Inherited from”withApp()
Section titled “withApp()”withApp(
app):this
Defined in: src/http/backend/HonoBackendOptions.ts:41
Bring-your-own Hono app (skips the internal hono import).
Parameters
Section titled “Parameters”HonoAppLike
Returns
Section titled “Returns”this
withMaxBodyBytes()
Section titled “withMaxBodyBytes()”withMaxBodyBytes(
bytes):this
Defined in: src/http/backend/HonoBackendOptions.ts:46
Maximum request body size in bytes. Default 10 MiB; exceeding it returns 413.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”this
create()
Section titled “create()”
staticcreate():HonoBackendOptionsBuilder
Defined in: src/http/backend/HonoBackendOptions.ts:36
Start a fresh builder. Equivalent to new HonoBackendOptionsBuilder().
Returns
Section titled “Returns”HonoBackendOptionsBuilder
