org.http4s.blaze.http.http2
package org.http4s.blaze.http.http2
Type members
Classlikes
Data frame for http2
- Value Params
- data
-
actual stream data. The
ByteBuffer
indexes may be modified by the receiver.
TheByteBuffer
indexes are considered owned by this DataFrame, but its
data must not be modified. - endStream
-
if this is the last message of the stream
trait FlowStrategy
FlowStrategy
advises a session when to send window updatesA
FlowStrategy
will be shared among many sessions.- Companion
- object
HTTP/2 HPACK header encoder
- Value Params
- initialMaxTableSize
-
maximum HPACK table size the peer
will allow.
case class HeadersFrame(priority: Priority, endStream: Boolean, headers: Headers) extends StreamFrame
Headers frame for http2
- Value Params
- endStream
-
signal if this is the last frame of the stream
- headers
-
attached headers
- priority
-
priority of this stream
sealed abstract class Http2Exception(msg: String) extends Exception with NoStackTrace with Product with Serializable
- Companion
- object
sealed abstract class Http2Settings
A bundle of HTTP2 settings
These represent the HTTP2 settings for either the client or server.
- See also
- https://tools.ietf.org/html/rfc7540#section-6.5.2, where the
doc strings were obtained. - Companion
- object
case class ImmutableHttp2Settings(headerTableSize: Int, initialWindowSize: Int, pushEnabled: Boolean, maxConcurrentStreams: Int, maxFrameSize: Int, maxHeaderListSize: Int) extends Http2Settings
Immutable representation of Http2Settings for configuring clients and servers
abstract class PriorKnowledgeHandshaker[T](localSettings: ImmutableHttp2Settings) extends TailStage[ByteBuffer]
Base type for performing the HTTP/2 prior knowledge handshake
abstract class StreamFlowWindow
Representation of the flow control state of a stream belonging to a session
The
both the individual stream and the session that it belongs to.
StreamFlowWindow
provides the tools for tracking the flow window forboth the individual stream and the session that it belongs to.