Http1Stage

org.http4s.blazecore.Http1Stage$
object Http1Stage

Attributes

Source:
Http1Stage.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def encodeHeaders(headers: Iterable[Raw], rr: Writer, isServer: Boolean): Unit

Encodes the headers into the Writer. Does not encode Transfer-Encoding or Content-Length headers, which are left for the body encoder. Does not encode headers with invalid names. Adds Date header if one is missing and this is a server response.

Encodes the headers into the Writer. Does not encode Transfer-Encoding or Content-Length headers, which are left for the body encoder. Does not encode headers with invalid names. Adds Date header if one is missing and this is a server response.

Note: this method is very niche but useful for both server and client.

Attributes

Source:
Http1Stage.scala