Aller au contenu principal
Version: Next

IMidwayWebConfigurationOptions

Hierarchy

  • IConfigurationOptions
    • IMidwayWebConfigurationOptions

Index

Properties

optionalapp

optionalappLogger

appLogger?: ILogger

optionalca

ca?: string | Buffer | (string | Buffer)[]

https ca

optionalcert

cert?: string | Buffer | (string | Buffer)[]

https cert

optionalcontextLoggerApplyLogger

contextLoggerApplyLogger?: string

optionalcontextLoggerFormat

contextLoggerFormat?: any

optionalglobalConfig

globalConfig?: any

optionalglobalPrefix

globalPrefix?: string

http global prefix

optionalhostname

hostname?: string

application hostname, 127.0.0.1 as default

optionalhttp2

http2?: boolean

http2 support

optionalkey

key?: string | Buffer | (Object | Buffer)[]

https key

optionallogger

logger?: ILogger

optionalplugins

plugins?: {}

optionalport

port?: number

application http port

optionalprocessType

processType?: agent | application

optionalqueryParseMode

queryParseMode?: simple | extended

http query parser mode, default is extended

optionalqueryParseOptions

queryParseOptions?: IParseOptions<undefined>

http query parse options, used when ‘simple’ mode is used

optionalserverOptions

serverOptions?: Record<string, any>

https/https/http2 server options

optionaltypescript

typescript?: boolean