Client
Fields of this type
Fields
- input:*Reader
- The encrypted stream from the server to the client.
- output:*Writer
- The encrypted stream from the client to the server.
- alert:?tls.Alert
- Populated when `error.TlsAlert` is returned.
- read_err:?ReadError
- = null
- tls_version:tls.ProtocolVersion
- read_seq:u64
- write_seq:u64
- received_close_notify:bool
- When this is true, the stream may still not be at the end because there
- allow_truncation_attacks:bool
- application_cipher:tls.ApplicationCipher
- ssl_key_log:?*SslKeyLog
- If non-null, ssl secrets are logged to a stream.
Type definitions in this namespace
Types
Initiates a TLS handshake and establishes a TLSv1.2 or TLSv1.3 session.
Functions
Error sets in this namespace
Error Sets
The `Reader` supplied to `init` requires a buffer capacity
Values
- min_buffer_len
- The `Reader` supplied to `init` requires a buffer capacity