package http
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- trait HttpClient[F[_]] extends AnyRef
-
final
case class
HttpRequest[F[_]](scheme: Scheme, host: HostPort, header: HttpRequestHeader, body: Stream[F, Byte]) extends HttpRequestOrResponse[F] with Product with Serializable
Model of Http Request sent by client.
Model of Http Request sent by client.
- host
Host/port where to perform the request to
- header
Header of the request
- body
Body of the request. If empty, no body will be emitted.
-
sealed
trait
HttpRequestOrResponse[F[_]] extends AnyRef
common request/response methods *
-
final
case class
HttpResponse[F[_]](header: HttpResponseHeader, body: Stream[F, Byte]) extends HttpRequestOrResponse[F] with Product with Serializable
Model of Http Response
Model of Http Response
- header
Header of the response
- body
Body of the response. If empty, no body will be emitted.
-
sealed
trait
RequestResult[F[_]] extends AnyRef
Represents the result of processing a server request, capturing both success and failure scenarios.
Value Members
- object HttpClient
- object HttpRequest extends Serializable
- object HttpResponse extends Serializable
- object HttpServer
- object RequestResult