NativeCrypto.selectApplicationProtocol

Selects the ALPN protocol to use. The list of protocols in "primary" is considered the order which should take precedence.

  1. int selectApplicationProtocol(SSL* ssl, uint8_t** outBuffer, uint8_t* outLength, const(uint8_t)* primary, uint primaryLength, const(uint8_t)* secondary, uint secondaryLength)
    class NativeCrypto
    static
    int
    selectApplicationProtocol
    (
    SSL* ssl
    ,
    uint8_t** outBuffer
    ,
    uint8_t* outLength
    ,
    const(uint8_t)* primary
    ,
    const uint primaryLength
    ,
    const(uint8_t)* secondary
    ,)
  2. int selectApplicationProtocol(SSL* ssl, void* selector, uint8_t** outBuffer, uint8_t* outLen, const(uint8_t)* inBuffer, uint inLen)

Meta