org.http4s.blaze.http.http2.server

Type members

Classlikes

final class ALPNServerSelector(engine: SSLEngine, selector: Set[String] => String, builder: String => LeafBuilder[ByteBuffer]) extends TailStage[ByteBuffer]

Dynamically inject an appropriate pipeline using ALPN negotiation.

Dynamically inject an appropriate pipeline using ALPN negotiation.

Value parameters:
builder

builds the appropriate pipeline based on the negotiated protocol

engine

the SSLEngine in use for the connection

selector

selects the preferred protocol from the sequence of supported clients. May receive an empty sequence.

Source:
ALPNServerSelector.scala