NativeCrypto.selectApplicationProtocol

Calls out to an application-provided selector to choose the ALPN protocol.

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

Meta