#import "OFStream.h"
#import "OFRunLoop.h"
Go to the source code of this file.
|
class | OFTLSStream |
| A class that provides Transport Layer Security on top of a stream. More...
|
|
◆ 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 |
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.