Skip to content

RequestOptions

[<Interface>]
type RequestOptions =
    abstract member checkServerIdentity: checkServerIdentity option with get, set
    abstract member rejectUnauthorized: bool option with get, set
    abstract member servername: string option with get, set
    static member Create (?hints: float, ?_defaultAgent: Agent, ?agent: U2<Agent,bool>, ?auth: string, ?createConnection: createConnection, ?defaultPort: U2<float,string>, ?family: float, ?headers: U2<OutgoingHttpHeaders,ResizeArray<string>>, ?host: string, ?hostname: string, ?insecureHTTPParser: bool, ?localAddress: string, ?localPort: float, ?lookup: LookupFunction, ?maxHeaderSize: float, ?method: string, ?path: string, ?port: U2<float,string>, ?protocol: string, ?setDefaultHeaders: bool, ?setHost: bool, ?signal: AbortSignal, ?socketPath: string, ?timeout: float, ?uniqueHeaders: ResizeArray<U2<string,ResizeArray<string>>>, ?joinDuplicateHeaders: bool, ?ALPNCallback: (arg -> string option), ?allowPartialTrustChain: bool, ?ca: U3<string,Buffer,ResizeArray<U2<string,Buffer>>>, ?cert: U3<string,Buffer,ResizeArray<U2<string,Buffer>>>, ?sigalgs: string, ?ciphers: string, ?clientCertEngine: string, ?crl: U3<string,Buffer,ResizeArray<U2<string,Buffer>>>, ?dhparam: U2<string,Buffer>, ?ecdhCurve: string, ?honorCipherOrder: bool, ?key: U3<string,Buffer,ResizeArray<U3<string,Buffer,KeyObject>>>, ?privateKeyEngine: string, ?privateKeyIdentifier: string, ?maxVersion: SecureVersion, ?minVersion: SecureVersion, ?passphrase: string, ?pfx: U3<string,Buffer,ResizeArray<U3<string,Buffer,PxfObject>>>, ?secureOptions: float, ?secureProtocol: string, ?sessionIdContext: string, ?ticketKeys: Buffer, ?sessionTimeout: float, ?checkServerIdentity: checkServerIdentity, ?rejectUnauthorized: bool, ?servername: string) : RequestOptions
AssemblyGlutinum.Node
Inheritsobj \| null
ImplementsSecureContextOptions, RequestOptions
Attributes[<AllowNullLiteral>] [<Interface>]

Declared inside

checkServerIdentity
createConnection

Properties

abstract member checkServerIdentity: checkServerIdentity option with get, set
abstract member rejectUnauthorized: bool option with get, set
abstract member servername: string option with get, set

Methods

static member Create (?hints: float, ?_defaultAgent: Agent, ?agent: U2<Agent,bool>, ?auth: string, ?createConnection: createConnection, ?defaultPort: U2<float,string>, ?family: float, ?headers: U2<OutgoingHttpHeaders,ResizeArray<string>>, ?host: string, ?hostname: string, ?insecureHTTPParser: bool, ?localAddress: string, ?localPort: float, ?lookup: LookupFunction, ?maxHeaderSize: float, ?method: string, ?path: string, ?port: U2<float,string>, ?protocol: string, ?setDefaultHeaders: bool, ?setHost: bool, ?signal: AbortSignal, ?socketPath: string, ?timeout: float, ?uniqueHeaders: ResizeArray<U2<string,ResizeArray<string>>>, ?joinDuplicateHeaders: bool, ?ALPNCallback: (arg -> string option), ?allowPartialTrustChain: bool, ?ca: U3<string,Buffer,ResizeArray<U2<string,Buffer>>>, ?cert: U3<string,Buffer,ResizeArray<U2<string,Buffer>>>, ?sigalgs: string, ?ciphers: string, ?clientCertEngine: string, ?crl: U3<string,Buffer,ResizeArray<U2<string,Buffer>>>, ?dhparam: U2<string,Buffer>, ?ecdhCurve: string, ?honorCipherOrder: bool, ?key: U3<string,Buffer,ResizeArray<U3<string,Buffer,KeyObject>>>, ?privateKeyEngine: string, ?privateKeyIdentifier: string, ?maxVersion: SecureVersion, ?minVersion: SecureVersion, ?passphrase: string, ?pfx: U3<string,Buffer,ResizeArray<U3<string,Buffer,PxfObject>>>, ?secureOptions: float, ?secureProtocol: string, ?sessionIdContext: string, ?ticketKeys: Buffer, ?sessionTimeout: float, ?checkServerIdentity: checkServerIdentity, ?rejectUnauthorized: bool, ?servername: string) : RequestOptions