Go to the source code of this file.
◆ OFTLSStreamErrorCode
An enum representing an error of an OFTLSStream.
Enumerator |
---|
OFTLSStreamErrorCodeUnknown | An unknown error.
|
OFTLSStreamErrorCodeInitializationFailed | Initialization of the TLS context failed.
|
◆ OFTLSStreamErrorCodeDescription()
Returns a string description for the TLS stream error code.
- Parameters
-
errorCode | The error code to return the description for |
- Returns
- A string description for the TLS stream error code
◆ OFTLSStreamImplementation
Class OFTLSStreamImplementation |
|
extern |
The implementation for OFTLSStream to use.
This can be set to a class that is always used for OFTLSStream. This is useful to either force a specific implementation or use one that ObjFW does not know about.