跳到主要内容
版本:Next

IMidwayExpressConfigurationOptions

Hierarchy

  • IConfigurationOptions
    • IMidwayExpressConfigurationOptions

Index

Properties

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

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

optionalkeys

keys?: string | string[]

session or cookie secret key

optionallogger

logger?: ILogger

optionalport

port?: number

application http port

optionalserverOptions

serverOptions?: Record<string, any>

https/https/http2 server options