Skip to content

ClientSessionOptions

[<Interface>]
type ClientSessionOptions =
    abstract member createConnection: CreateConnection option with get, set
    abstract member maxReservedRemoteStreams: float option with get, set
    abstract member protocol: Protocol option with get, set
    static member Create (?maxReservedRemoteStreams: float, ?createConnection: CreateConnection, ?protocol: Protocol, ?maxDeflateDynamicTableSize: float, ?maxSettings: float, ?maxSessionMemory: float, ?maxHeaderListPairs: float, ?maxOutstandingPings: float, ?maxSendHeaderBlockLength: float, ?paddingStrategy: float, ?peerMaxConcurrentStreams: float, ?settings: Settings, ?remoteCustomSettings: float array, ?unknownProtocolTimeout: float, ?strictFieldWhitespaceValidation: bool) : ClientSessionOptions
AssemblyXantham.Fable.Node
ImplementsSessionOptions
Attributes[<Interface>]

Declared inside

CreateConnection
Protocol

Properties

abstract member createConnection: CreateConnection option with get, set

An optional callback that receives the URL instance passed to connect and the options object, and returns any Duplex stream that is to be used as the connection for this session.

abstract member maxReservedRemoteStreams: float option with get, set

Sets the maximum number of reserved push streams the client will accept at any given time. Once the current number of currently reserved push streams exceeds reaches this limit, new push streams sent by the server will be automatically rejected. The minimum allowed value is 0. The maximum allowed value is 232-1. A negative value sets this option to the maximum allowed value.

abstract member protocol: Protocol option with get, set

The protocol to connect with, if not set in the authority. Value may be either 'http:' or 'https:'.

Methods

static member Create (?maxReservedRemoteStreams: float, ?createConnection: CreateConnection, ?protocol: Protocol, ?maxDeflateDynamicTableSize: float, ?maxSettings: float, ?maxSessionMemory: float, ?maxHeaderListPairs: float, ?maxOutstandingPings: float, ?maxSendHeaderBlockLength: float, ?paddingStrategy: float, ?peerMaxConcurrentStreams: float, ?settings: Settings, ?remoteCustomSettings: float array, ?unknownProtocolTimeout: float, ?strictFieldWhitespaceValidation: bool) : ClientSessionOptions