Packages

p

spinoco.fs2.http

internal

package internal

Source
internal.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. internal
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val : ByteVector
  2. val : ByteVector
  3. val : ByteVector
  4. val : ByteVector
  5. def addressForRequest[F[_]](scheme: Scheme, host: HostPort)(implicit arg0: Sync[F]): F[SocketAddress[Host]]

    evaluates address from the host port and scheme, if this is a custom scheme we will default to port 8080*

  6. def bodyIsChunked(headers: List[HttpHeader]): Boolean

    yields to true, if chunked encoding header is present *

  7. def clientLiftToSecure[F[_]](socket: Socket[F], server: HostPort)(implicit arg0: Concurrent[F], arg1: Sync[F], arg2: TLSContext[F]): Resource[F, TLSSocket[F]]

    creates a function that lifts supplied socket to secure socket *

  8. def httpHeaderAndBody[F[_]](maxHeaderSize: Int)(implicit arg0: RaiseThrowable[F]): Pipe[F, Byte, (ByteVector, Stream[F, Byte])]

    From the stream of bytes this extracts Http Header and body part.

  9. def swapHeader[H <: HttpHeader](header: H)(headers: List[HttpHeader])(implicit CT: ClassTag[H]): List[HttpHeader]

    swaps header H for new value.

    swaps header H for new value. If header exists, it is discarded. Appends header to the end*

  10. object ChunkedEncoding

    Created by pach on 20/01/17.

Inherited from AnyRef

Inherited from Any

Ungrouped