All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twitter.finagle.stream.package.scala Maven / Gradle / Ivy

There is a newer version: 6.39.0
Show newest version
package com.twitter.finagle

/**
 * 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.
 */
package object stream {
  implicit val streamRequestType = new RequestType[StreamRequest] {
    def canonize(req: StreamRequest) = req
    def specialize(req: StreamRequest) = req
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy