Dtls13Client.extractHelloRetryCookie

const(ubyte)[] extractHelloRetryCookie(const(ubyte)[] body)

Extract the cookie from a HelloRetryRequest body.

Parameters

bodyThe message body after the DTLS handshake header.

Returns

The cookie bytes, or empty slice.