Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Structs TlsConfig

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module juptune.http.tls.common;

struct TlsConfig
{
    /++ FUNCTIONS ++/
    
    ///
    TlsConfig withAlwaysTimeout(bool v);
    ///
    TlsConfig withDumpCerts(bool v);
    ///
    TlsConfig withMaxFragmentReadAttempts(ubyte v);
    ///
    TlsConfig withReadTimeout(Duration v);
    ///
    TlsConfig withWriteTimeout(Duration v);
    
    /++ VARIABLES ++/
    
    /// Whether the generic driver interface should always timeout, even when Duration.zero is passed into it. 
    bool alwaysTimeout;
    /// A debug-oriented flag to dump any certs encountered. Mainly for internal use. Look for stuff under /tmp/juptune for raw DER bytes of certs in the cert chain. 
    bool dumpCerts;
    /// How many attempts are made to fully read in a record's fragment data before an error is thrown 
    ubyte maxFragmentReadAttempts;
    /// The default timeout for reading data 
    Duration readTimeout;
    /// The default timeout for writing data 
    Duration writeTimeout;
}

Functions

Name Description
withAlwaysTimeout
withDumpCerts
withMaxFragmentReadAttempts
withReadTimeout
withWriteTimeout

Variables

Name Description
alwaysTimeout

Whether the generic driver interface should always timeout, even when Duration.zero is passed into it.

dumpCerts

A debug-oriented flag to dump any certs encountered. Mainly for internal use. Look for stuff under /tmp/juptune for raw DER bytes of certs in the cert chain.

maxFragmentReadAttempts

How many attempts are made to fully read in a record's fragment data before an error is thrown

readTimeout

The default timeout for reading data

writeTimeout

The default timeout for writing data

ON THIS PAGE