com.twitter.finagle

stream

package stream

Finagle-stream implements a rather peculiar protocol: it streams discrete messages delineated by HTTP chunks. It isn't how we'd design a protocol to stream messages, but we are stuck with it for legacy reasons.

Finagle-stream sessions are also one-shot: each session handles exactly one stream. The session terminates together with the stream.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. stream
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final class Header extends AnyRef

    HTTP header encoded as a string pair.

  2. trait RequestType[Req] extends AnyRef

  3. class Stream[Req] extends CodecFactory[Req, StreamResponse]

  4. case class StreamRequest(method: Method, uri: String, version: Version = ..., headers: Seq[Header] = immutable.this.Nil, body: Buf = com.twitter.io.Buf.Empty) extends Product with Serializable

  5. trait StreamResponse extends AnyRef

  6. case class Version(major: Int, minor: Int) extends Product with Serializable

    Represents the HTTP version.

Value Members

  1. object EOF extends Exception

    Indicates that a stream has ended.

  2. object Header

  3. object Stream

  4. object StreamRequest extends Serializable

  5. object StreamResponse

  6. implicit val streamRequestType: RequestType[StreamRequest]

Inherited from AnyRef

Inherited from Any

Ungrouped