Skip to content

RequestOptions

[<Interface>]
type RequestOptions =
    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) : RequestOptions
AssemblyGlutinum.Node
Inheritsobj \| null
ImplementsClientRequestArgs
Attributes[<AllowNullLiteral>] [<Interface>]

Declared inside

createConnection

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) : RequestOptions