AppData

Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

clearCallbackState
void clearCallbackState()
Undocumented in source. Be warned that the author may not have intended to support it.
setApplicationProtocolSelector
void setApplicationProtocolSelector(void* selector)

Only called in server mode. Sets the application-provided ALPN protocol selector. This overrides the list of ALPN protocols, if set.

setApplicationProtocols
bool setApplicationProtocols(ubyte[] applicationProtocols)

Only called in server mode. Sets the protocols for ALPN negotiation.

setCallbackState
bool setCallbackState(void* shc, void* fd)

Used to set the SSL-to-Java callback state before each SSL_* call that may result in a callback. It should be cleared after the operation returns with clearCallbackState.

Static functions

create
AppData* create()

Creates the application data context for the SSL*.

Variables

aliveAndKicking
bool aliveAndKicking;
Undocumented in source.
applicationProtocolSelector
void* applicationProtocolSelector;
Undocumented in source.
applicationProtocolsData
char* applicationProtocolsData;
Undocumented in source.
applicationProtocolsLength
size_t applicationProtocolsLength;
Undocumented in source.
fdsEmergency
int[2] fdsEmergency;
Undocumented in source.
interruptEvent
HANDLE interruptEvent;
Undocumented in source.
name
string name;
Undocumented in source.
sslHandshakeCallbacks
void* sslHandshakeCallbacks;
Undocumented in source.
waitingThreads
int waitingThreads;
Undocumented in source.

Meta