[ Web Proxy ]
URL:
Viewing: https://zoom.github.io/rivet-javascript/modules/../interfaces/Phone.HttpReceiverOptions.html [Back]  [Original]

HttpReceiverOptions | @zoom/rivet

Interface HttpReceiverOptions

interface HttpReceiverOptions {
allowHalfOpen?: boolean;
ALPNCallback?: (arg: { protocols: string[]; servername: string }) => string;
ALPNProtocols?: string[] | Uint8Array | Uint8Array[];
ca?: string | Buffer | (string | Buffer)[];
cert?: string | Buffer | (string | Buffer)[];
ciphers?: string;
clientCertEngine?: string;
connectionsCheckingInterval?: number;
crl?: string | Buffer | (string | Buffer)[];
dhparam?: string | Buffer;
ecdhCurve?: string;
enableTrace?: boolean;
endpoints?: MaybeArray<string>;
handshakeTimeout?: number;
highWaterMark?: number;
honorCipherOrder?: boolean;
IncomingMessage?: typeof IncomingMessage;
insecureHTTPParser?: boolean;
joinDuplicateHeaders?: boolean;
keepAlive?: boolean;
keepAliveInitialDelay?: number;
keepAliveTimeout?: number;
key?: string | Buffer | (string | Buffer | KeyObject)[];
logger?: Logger;
logLevel?: LogLevel;
maxHeaderSize?: number;
maxVersion?: SecureVersion;
minVersion?: SecureVersion;
noDelay?: boolean;
passphrase?: string;
pauseOnConnect?: boolean;
pfx?: string | Buffer | (string | Buffer | PxfObject)[];
port?: string | number;
privateKeyEngine?: string;
privateKeyIdentifier?: string;
pskCallback?: (
socket: TLSSocket,
identity: string,
) => DataView | TypedArray;
pskIdentityHint?: string;
rejectUnauthorized?: boolean;
requestCert?: boolean;
requestTimeout?: number;
secureContext?: SecureContext;
secureOptions?: number;
secureProtocol?: string;
ServerResponse?: typeof ServerResponse;
sessionIdContext?: string;
sessionTimeout?: number;
sigalgs?: string;
SNICallback?: (
servername: string,
cb: (err: Error, ctx?: SecureContext) => void,
) => void;
ticketKeys?: Buffer;
uniqueHeaders?: (string | string[])[];
webhooksSecretToken: string;
}

Hierarchy

Properties

allowHalfOpen?: boolean

Inherited from Partial.allowHalfOpen

ALPNCallback?: (arg: { protocols: string[]; servername: string }) => string

Inherited from Partial.ALPNCallback

ALPNProtocols?: string[] | Uint8Array | Uint8Array[]

Inherited from Partial.ALPNProtocols

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

Inherited from Partial.ca

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

Inherited from Partial.cert

ciphers?: string

Inherited from Partial.ciphers

clientCertEngine?: string

Inherited from Partial.clientCertEngine

connectionsCheckingInterval?: number

Inherited from Partial.connectionsCheckingInterval

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

Inherited from Partial.crl

dhparam?: string | Buffer

Inherited from Partial.dhparam

ecdhCurve?: string

Inherited from Partial.ecdhCurve

enableTrace?: boolean

Inherited from Partial.enableTrace

endpoints?: MaybeArray<string>
handshakeTimeout?: number

Inherited from Partial.handshakeTimeout

highWaterMark?: number

Inherited from Partial.highWaterMark

honorCipherOrder?: boolean

Inherited from Partial.honorCipherOrder

IncomingMessage?: typeof IncomingMessage

Inherited from Partial.IncomingMessage

insecureHTTPParser?: boolean

Inherited from Partial.insecureHTTPParser

joinDuplicateHeaders?: boolean

Inherited from Partial.joinDuplicateHeaders

keepAlive?: boolean

Inherited from Partial.keepAlive

keepAliveInitialDelay?: number

Inherited from Partial.keepAliveInitialDelay

keepAliveTimeout?: number

Inherited from Partial.keepAliveTimeout

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

Inherited from Partial.key

logger?: Logger
logLevel?: LogLevel
maxHeaderSize?: number

Inherited from Partial.maxHeaderSize

maxVersion?: SecureVersion

Inherited from Partial.maxVersion

minVersion?: SecureVersion

Inherited from Partial.minVersion

noDelay?: boolean

Inherited from Partial.noDelay

passphrase?: string

Inherited from Partial.passphrase

pauseOnConnect?: boolean

Inherited from Partial.pauseOnConnect

pfx?: string | Buffer | (string | Buffer | PxfObject)[]

Inherited from Partial.pfx

port?: string | number
privateKeyEngine?: string

Inherited from Partial.privateKeyEngine

privateKeyIdentifier?: string

Inherited from Partial.privateKeyIdentifier

pskCallback?: (socket: TLSSocket, identity: string) => DataView | TypedArray

Type declaration

    • (socket: TLSSocket, identity: string): DataView | TypedArray
    • Parameters

      • socket: TLSSocket
      • identity: string

        identity parameter sent from the client.

      Returns DataView | TypedArray

      pre-shared key that must either be a buffer or null to stop the negotiation process. Returned PSK must be compatible with the selected cipher's digest.

      When negotiating TLS-PSK (pre-shared keys), this function is called with the identity provided by the client. If the return value is null the negotiation process will stop and an "unknown_psk_identity" alert message will be sent to the other party. If the server wishes to hide the fact that the PSK identity was not known, the callback must provide some random data as psk to make the connection fail with "decrypt_error" before negotiation is finished. PSK ciphers are disabled by default, and using TLS-PSK thus requires explicitly specifying a cipher suite with the ciphers option. More information can be found in the RFC 4279.

Inherited from Partial.pskCallback

pskIdentityHint?: string

Inherited from Partial.pskIdentityHint

rejectUnauthorized?: boolean

Inherited from Partial.rejectUnauthorized

requestCert?: boolean

Inherited from Partial.requestCert

requestTimeout?: number

Inherited from Partial.requestTimeout

secureContext?: SecureContext

Inherited from Partial.secureContext

secureOptions?: number

Inherited from Partial.secureOptions

secureProtocol?: string

Inherited from Partial.secureProtocol

ServerResponse?: typeof ServerResponse

Inherited from Partial.ServerResponse

sessionIdContext?: string

Inherited from Partial.sessionIdContext

sessionTimeout?: number

Inherited from Partial.sessionTimeout

sigalgs?: string

Inherited from Partial.sigalgs

SNICallback?: (
servername: string,
cb: (err: Error, ctx?: SecureContext) => void,
) => void

Inherited from Partial.SNICallback

ticketKeys?: Buffer

Inherited from Partial.ticketKeys

uniqueHeaders?: (string | string[])[]

Inherited from Partial.uniqueHeaders

webhooksSecretToken: string

Copyright © 2024 Zoom Video Communications, Inc.


Web Proxy Viewer  |  New URL  |  Original Page