Skip to main content

Interface: ServerOptions

api/src.ServerOptions

Properties

acceptedContentMimeTypes

Optional acceptedContentMimeTypes: null | (`message/${string}` | `application/${string}` | `text/${string}` | `multipart/${string}` | `image/${string}` | `audio/${string}` | `video/${string}` | `X-${string}/${string}`)[]

Defined in

projects/plugins/packages/api/src/lib/structures/http/Server.ts:199


auth

Optional auth: ServerOptionsAuth

Defined in

projects/plugins/packages/api/src/lib/structures/http/Server.ts:221


automaticallyConnect

Optional automaticallyConnect: boolean

Defined in

projects/plugins/packages/api/src/lib/structures/http/Server.ts:228


listenOptions

Optional listenOptions: ListenOptions

Defined in

projects/plugins/packages/api/src/lib/structures/http/Server.ts:213


maximumBodyLength

Optional maximumBodyLength: number

Defined in

projects/plugins/packages/api/src/lib/structures/http/Server.ts:192


origin

Optional origin: string

Defined in

projects/plugins/packages/api/src/lib/structures/http/Server.ts:185


prefix

Optional prefix: string

Defined in

projects/plugins/packages/api/src/lib/structures/http/Server.ts:178


server

Optional server: ServerOptions

Defined in

projects/plugins/packages/api/src/lib/structures/http/Server.ts:206