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| Assembly | Xantham.Fable.Node |
| Implements | SessionOptions |
| Attributes | [<Interface>] |
Declared inside
CreateConnection | |
Protocol |
Properties
abstract member createConnection: CreateConnection option with get, set
abstract member createConnection: CreateConnection option with get, setAn 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
abstract member maxReservedRemoteStreams: float option with get, setSets 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
abstract member protocol: Protocol option with get, setThe 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