Packages

c

akka.http.scaladsl

Http2Ext

final class Http2Ext extends Extension

Entry point for Http/2 server

Source
Http2.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Http2Ext
  2. Extension
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Http2Ext(config: Config)(implicit system: ActorSystem)

Type Members

  1. type HttpImplementation = Flow[SslTlsInbound, SslTlsOutbound, NotUsed]
  2. type HttpPlusSwitching = (HttpImplementation, HttpImplementation) ⇒ Flow[ByteString, ByteString, NotUsed]

Value Members

  1. val ConnectionUpgradeHeader: Connection
  2. val UpgradeHeader: Upgrade
  3. def bindAndHandleAsync(handler: (HttpRequest) ⇒ Future[HttpResponse], interface: String, port: Int = DefaultPortForProtocol, connectionContext: ConnectionContext, settings: ServerSettings = ServerSettings(system), parallelism: Int = 1, log: LoggingAdapter = system.log)(implicit fm: Materializer): Future[ServerBinding]
  4. val http: HttpExt
  5. def httpsWithAlpn(httpsContext: HttpsConnectionContext, fm: Materializer)(http1: HttpImplementation, http2: HttpImplementation): Flow[ByteString, ByteString, NotUsed]
  6. def priorKnowledge(http1: HttpImplementation, http2: HttpImplementation): Flow[ByteString, ByteString, NotUsed]
  7. implicit val system: ActorSystem