Properties
Optional ALPNProtocols
ALPNProtocols: string [] | Buffer [] | Uint8Array [] | Buffer | Uint8Array
Inherited from TlsOptions.ALPNProtocols
Overrides TlsOptions.ALPNProtocols
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:255
Optional Http1IncomingMessage
Http1IncomingMessage: IncomingMessage
Inherited from ServerSessionOptions.Http1IncomingMessage
Overrides ServerSessionOptions.Http1IncomingMessage
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:455
Optional Http1ServerResponse
Http1ServerResponse: ServerResponse
Inherited from ServerSessionOptions.Http1ServerResponse
Overrides ServerSessionOptions.Http1ServerResponse
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:456
Optional Http2ServerRequest
Http2ServerRequest: Http2ServerRequest
Inherited from ServerSessionOptions.Http2ServerRequest
Overrides ServerSessionOptions.Http2ServerRequest
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:457
Optional Http2ServerResponse
Http2ServerResponse: Http2ServerResponse
Inherited from ServerSessionOptions.Http2ServerResponse
Overrides ServerSessionOptions.Http2ServerResponse
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:458
Optional IncomingMessage
IncomingMessage: IncomingMessage
Inherited from ServerOptions.IncomingMessage
Overrides ServerOptions.IncomingMessage
Defined in D:/项目/TPack/node_modules/@types/node/http.d.ts:93
Optional NPNProtocols
NPNProtocols: string [] | Buffer [] | Uint8Array [] | Buffer | Uint8Array
Inherited from TlsOptions.NPNProtocols
Overrides TlsOptions.NPNProtocols
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:254
Optional SNICallback
SNICallback: function
Inherited from TlsOptions.SNICallback
Overrides TlsOptions.SNICallback
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:256
Type declaration
( servername: string , cb: function ) : void
Parameters
servername: string
cb: function
( err: Error | null , ctx: SecureContext ) : void
Parameters
err: Error | null
ctx: SecureContext
Returns void
Returns void
Optional ServerResponse
ServerResponse: ServerResponse
Inherited from ServerOptions.ServerResponse
Overrides ServerOptions.ServerResponse
Defined in D:/项目/TPack/node_modules/@types/node/http.d.ts:94
Optional allowHTTP1
allowHTTP1: boolean
Inherited from SecureServerOptions.allowHTTP1
Overrides SecureServerOptions.allowHTTP1
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:467
Optional ca
ca: string | Buffer | Array < string | Buffer >
Inherited from SecureContextOptions.ca
Overrides SecureContextOptions.ca
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:344
Optional cert
cert: string | Buffer | Array < string | Buffer >
Inherited from SecureContextOptions.cert
Overrides SecureContextOptions.cert
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:343
Optional ciphers
ciphers: string
Inherited from SecureContextOptions.ciphers
Overrides SecureContextOptions.ciphers
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:345
Optional clientCertEngine
clientCertEngine: string
Inherited from SecureContextOptions.clientCertEngine
Overrides SecureContextOptions.clientCertEngine
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:348
Optional createConnection
createConnection: function
Inherited from SessionOptions.createConnection
Overrides SessionOptions.createConnection
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:446
Type declaration
( authority: URL , option: SessionOptions ) : stream.Duplex
Parameters
authority: URL
option: SessionOptions
Returns stream.Duplex
Optional crl
crl: string | Buffer | Array < string | Buffer >
Inherited from SecureContextOptions.crl
Overrides SecureContextOptions.crl
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:349
Optional dhparam
dhparam: string | Buffer
Inherited from SecureContextOptions.dhparam
Overrides SecureContextOptions.dhparam
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:350
Optional ecdhCurve
ecdhCurve: string
Inherited from SecureContextOptions.ecdhCurve
Overrides SecureContextOptions.ecdhCurve
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:347
Optional handshakeTimeout
handshakeTimeout: number
Inherited from TlsOptions.handshakeTimeout
Overrides TlsOptions.handshakeTimeout
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:251
Optional honorCipherOrder
honorCipherOrder: boolean
Inherited from SecureContextOptions.honorCipherOrder
Overrides SecureContextOptions.honorCipherOrder
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:346
Optional http2
http2: boolean
Defined in httpServer.ts:176
Optional https
https: boolean
Defined in httpServer.ts:171
Optional key
key: string | Buffer | Array < Buffer | Object >
Inherited from SecureContextOptions.key
Overrides SecureContextOptions.key
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:341
Optional maxAllowedContentLength
maxAllowedContentLength: number
Defined in httpServer.ts:181
Optional maxDeflateDynamicTableSize
maxDeflateDynamicTableSize: number
Inherited from SessionOptions.maxDeflateDynamicTableSize
Overrides SessionOptions.maxDeflateDynamicTableSize
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:437
Optional maxHeaderListPairs
maxHeaderListPairs: number
Inherited from SessionOptions.maxHeaderListPairs
Overrides SessionOptions.maxHeaderListPairs
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:439
Optional maxOutstandingPings
maxOutstandingPings: number
Inherited from SessionOptions.maxOutstandingPings
Overrides SessionOptions.maxOutstandingPings
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:440
Optional maxSendHeaderBlockLength
maxSendHeaderBlockLength: number
Inherited from SessionOptions.maxSendHeaderBlockLength
Overrides SessionOptions.maxSendHeaderBlockLength
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:441
Optional maxSessionMemory
maxSessionMemory: number
Inherited from SessionOptions.maxSessionMemory
Overrides SessionOptions.maxSessionMemory
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:438
Optional maxVersion
maxVersion: SecureVersion
Inherited from SecureContextOptions.maxVersion
Overrides SecureContextOptions.maxVersion
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:362
Optional minVersion
minVersion: SecureVersion
Inherited from SecureContextOptions.minVersion
Overrides SecureContextOptions.minVersion
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:373
Optional origins
origins: string []
Inherited from SecureServerOptions.origins
Overrides SecureServerOptions.origins
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:468
Optional paddingStrategy
paddingStrategy: number
Inherited from SessionOptions.paddingStrategy
Overrides SessionOptions.paddingStrategy
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:442
Optional passphrase
passphrase: string
Inherited from SecureContextOptions.passphrase
Overrides SecureContextOptions.passphrase
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:342
Optional peerMaxConcurrentStreams
peerMaxConcurrentStreams: number
Inherited from SessionOptions.peerMaxConcurrentStreams
Overrides SessionOptions.peerMaxConcurrentStreams
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:443
Optional pfx
pfx: string | Buffer | Array < string | Buffer | Object >
Inherited from SecureContextOptions.pfx
Overrides SecureContextOptions.pfx
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:340
Optional rejectUnauthorized
rejectUnauthorized: boolean
Inherited from TlsOptions.rejectUnauthorized
Overrides TlsOptions.rejectUnauthorized
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:253
Optional requestCert
requestCert: boolean
Inherited from TlsOptions.requestCert
Overrides TlsOptions.requestCert
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:252
Optional secureOptions
secureOptions: number
Inherited from SecureContextOptions.secureOptions
Overrides SecureContextOptions.secureOptions
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:351
Optional secureProtocol
secureProtocol: string
Inherited from SecureContextOptions.secureProtocol
Overrides SecureContextOptions.secureProtocol
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:352
Optional selectPadding
selectPadding: function
Inherited from SessionOptions.selectPadding
Overrides SessionOptions.selectPadding
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:444
Type declaration
( frameLen: number , maxFrameLen: number ) : number
Parameters
frameLen: number
maxFrameLen: number
Returns number
Optional sessionIdContext
sessionIdContext: string
Inherited from SecureContextOptions.sessionIdContext
Overrides SecureContextOptions.sessionIdContext
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:353
Optional sessionTimeout
sessionTimeout: number
Inherited from TlsOptions.sessionTimeout
Overrides TlsOptions.sessionTimeout
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:257
Optional settings
settings: Settings
Inherited from SessionOptions.settings
Overrides SessionOptions.settings
Defined in D:/项目/TPack/node_modules/@types/node/http2.d.ts:445
Optional ticketKeys
ticketKeys: Buffer
Inherited from TlsOptions.ticketKeys
Overrides TlsOptions.ticketKeys
Defined in D:/项目/TPack/node_modules/@types/node/tls.d.ts:258
表示 HTTP 服务器的附加选项