httpz
package
httpz
Type Members
-
type
Action[A] = EitherT[Requests, Error, A]
-
type
ActionE[E, A] = EitherT[Requests, E, A]
-
final
class
ActionEOps[E, A] extends AnyVal
-
type
ActionNel[A] = EitherT[Requests, ErrorNel, A]
-
-
final
class
ByteArray extends AnyRef
-
type
Config = Endo[Request]
-
sealed
class
Core[F[_]] extends AnyRef
-
sealed abstract
class
Error extends RuntimeException with Product with Serializable
-
type
ErrorNel = NonEmptyList[Error]
-
abstract
class
Interpreter[F[_]] extends AnyRef
-
type
InterpreterF[F[_]] = NaturalTransformation[RequestF, F]
-
-
-
final
case class
Request(url: String, method: String = "GET", body: Option[Array[Byte]] = scala.None, params: Map[String, String] = ..., headers: Map[String, String] = ..., basicAuth: Option[(String, String)] = scala.None) extends Product with Serializable
-
sealed abstract
class
RequestF[A] extends Product with Serializable
-
type
Requests[A] = Free[RequestF, A]
-
final
case class
Response[A](body: A, status: Int, headers: Map[String, List[String]]) extends Product with Serializable
-
sealed abstract
class
Time extends AnyRef
-
type
Times[A] = WriterT[scalaz.Id.Id, List[Time], A]
Value Members
-
def
Action[E, A](a: Requests[\/[E, A]]): ActionE[E, A]
-
val
ActionMonad: Monad[Action]
-
val
ActionNelMonad: Monad[ActionNel]
-
val
ActionNelZipAp: Apply[ActionNel]
-
def
ActionZipAp[E](implicit arg0: Semigroup[E]): Apply[[α]EitherT[[A]Free[RequestF, A], E, α]]
-
object
BuildInfoHttpz extends Product with Serializable
-
-
-
object
Error extends Serializable
-
object
Request extends Serializable
-
object
RequestF extends Serializable
-
val
RequestsMonad: Monad[Requests]
-
object
Response extends Serializable
-
-
def
actionEMonad[E]: Monad[[α]EitherT[[A]Free[RequestF, A], E, α]]
-
val
emptyConfig: Config
-
implicit
def
toActionEOps[E, A](a: ActionE[E, A]): ActionEOps[E, A]
Inherited from AnyRef
Inherited from Any