Skip to content

ALPNStandardProtocolResolver

[Source]

Implements the standard protocol selection akin to the OpenSSL function SSL_select_next_proto.

class val ALPNStandardProtocolResolver is
  ALPNProtocolResolver box

Implements


Constructors

create

[Source]

new val create(
  supported': Array[String val] val,
  use_client_as_fallback': Bool val = seq)
: ALPNStandardProtocolResolver val^

Parameters

  • supported': Array[String val] val
  • use_client_as_fallback': Bool val = seq

Returns


Public fields

let supported: Array[String val] val

[Source]


let use_client_as_fallback: Bool val

[Source]


Public Functions

resolve

[Source]

fun box resolve(
  advertised: Array[String val] val)
: (String val | ALPNNoAck val | ALPNWarning val | 
    ALPNFatal val)

Parameters

Returns