Dtls12Client.extractHelloVerifyCookie

const(ubyte)[] extractHelloVerifyCookie(const(ubyte)[] body)

Extract the cookie from a HelloVerifyRequest body.

Parameters

bodyThe message body after the DTLS handshake header.

Returns

The cookie bytes, or empty slice.