object io extends Http4sDsl[IO]
- Source
- io.scala
- Alphabetic
- By Inheritance
- io
- Http4sDsl
- Auth
- Responses
- Statuses
- Methods
- Http4s
- AllSyntax
- LiteralsSyntax
- StringSyntax
- NonEmptyListSyntax
- KleisliSyntax
- EffectRequestSyntax
- EffectResponseSyntax
- AsyncSyntax
- Http4sFunctions
- UriFunctions
- QValueFunctions
- Http4sInstances
- StatusInstances
- MethodInstances
- QValueInstances
- CharsetRangeInstances
- EntityEncoderInstances
- EntityEncoderInstances0
- HttpVersionInstances
- EntityDecoderInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
/ = impl./
- Definition Classes
- Http4sDsl
-
type
MethodConcat = impl.MethodConcat
- Definition Classes
- Http4sDsl
-
type
OptionalMultiQueryParamDecoderMatcher[T] = impl.OptionalMultiQueryParamDecoderMatcher[T]
- Definition Classes
- Http4sDsl
-
type
OptionalQueryParamDecoderMatcher[T] = impl.OptionalQueryParamDecoderMatcher[T]
- Definition Classes
- Http4sDsl
-
type
OptionalQueryParamMatcher[T] = impl.OptionalQueryParamMatcher[T]
- Definition Classes
- Http4sDsl
-
type
OptionalValidatingQueryParamDecoderMatcher[T] = impl.OptionalValidatingQueryParamDecoderMatcher[T]
- Definition Classes
- Http4sDsl
-
type
Path = impl.Path
- Definition Classes
- Http4sDsl
-
type
QueryParamDecoderMatcher[T] = impl.QueryParamDecoderMatcher[T]
- Definition Classes
- Http4sDsl
-
type
QueryParamMatcher[T] = impl.QueryParamMatcher[T]
- Definition Classes
- Http4sDsl
-
type
Root = impl.Root.type
- Definition Classes
- Http4sDsl
-
type
ValidatingQueryParamDecoderMatcher[T] = impl.ValidatingQueryParamDecoderMatcher[T]
- Definition Classes
- Http4sDsl
Value Members
-
object
as
- Definition Classes
- Auth
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
val
+&: impl.+&.type
- Definition Classes
- Http4sDsl
-
val
->: impl.->.type
- Definition Classes
- Http4sDsl
-
val
/: impl./.type
- Definition Classes
- Http4sDsl
-
val
/:: impl./:.type
- Definition Classes
- Http4sDsl
-
val
:?: impl.:?.type
- Definition Classes
- Http4sDsl
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
Accepted: Status.Accepted.type
- Definition Classes
- Statuses
-
val
AlreadyReported: Status.AlreadyReported.type
- Definition Classes
- Statuses
-
val
BadGateway: Status.BadGateway.type
- Definition Classes
- Statuses
-
val
BadRequest: Status.BadRequest.type
- Definition Classes
- Statuses
-
val
CONNECT: Method.CONNECT
- Definition Classes
- Methods
-
val
Conflict: Status.Conflict.type
- Definition Classes
- Statuses
-
val
Continue: Status.Continue.type
- Definition Classes
- Statuses
-
val
Created: Status.Created.type
- Definition Classes
- Statuses
-
val
DELETE: Method.DELETE
- Definition Classes
- Methods
-
val
ExpectationFailed: Status.ExpectationFailed.type
- Definition Classes
- Statuses
-
val
FailedDependency: Status.FailedDependency.type
- Definition Classes
- Statuses
-
val
Forbidden: Status.Forbidden.type
- Definition Classes
- Statuses
-
val
Found: Status.Found.type
- Definition Classes
- Statuses
-
val
GET: Method.GET
- Definition Classes
- Methods
-
val
GatewayTimeout: Status.GatewayTimeout.type
- Definition Classes
- Statuses
-
val
Gone: Status.Gone.type
- Definition Classes
- Statuses
-
val
HEAD: Method.HEAD
- Definition Classes
- Methods
-
val
HttpVersionNotSupported: Status.HttpVersionNotSupported.type
- Definition Classes
- Statuses
-
implicit
val
HttpVersionOrder: Order[HttpVersion]
- Definition Classes
- HttpVersionInstances
-
implicit
val
HttpVersionShow: Show[HttpVersion]
- Definition Classes
- HttpVersionInstances
-
val
IMUsed: Status.IMUsed.type
- Definition Classes
- Statuses
-
val
InsufficientStorage: Status.InsufficientStorage.type
- Definition Classes
- Statuses
-
val
IntVar: impl.IntVar.type
- Definition Classes
- Http4sDsl
-
val
InternalServerError: Status.InternalServerError.type
- Definition Classes
- Statuses
-
val
LengthRequired: Status.LengthRequired.type
- Definition Classes
- Statuses
-
val
Locked: Status.Locked.type
- Definition Classes
- Statuses
-
val
LongVar: impl.LongVar.type
- Definition Classes
- Http4sDsl
-
val
LoopDetected: Status.LoopDetected.type
- Definition Classes
- Statuses
-
val
MethodNotAllowed: Status.MethodNotAllowed.type
- Definition Classes
- Statuses
-
val
MovedPermanently: Status.MovedPermanently.type
- Definition Classes
- Statuses
-
val
MultiStatus: Status.MultiStatus.type
- Definition Classes
- Statuses
-
val
MultipleChoices: Status.MultipleChoices.type
- Definition Classes
- Statuses
-
val
NetworkAuthenticationRequired: Status.NetworkAuthenticationRequired.type
- Definition Classes
- Statuses
-
val
NoContent: Status.NoContent.type
- Definition Classes
- Statuses
-
val
NonAuthoritativeInformation: Status.NonAuthoritativeInformation.type
- Definition Classes
- Statuses
-
val
NotAcceptable: Status.NotAcceptable.type
- Definition Classes
- Statuses
-
val
NotExtended: Status.NotExtended.type
- Definition Classes
- Statuses
-
val
NotFound: Status.NotFound.type
- Definition Classes
- Statuses
-
val
NotImplemented: Status.NotImplemented.type
- Definition Classes
- Statuses
-
val
NotModified: Status.NotModified.type
- Definition Classes
- Statuses
-
val
OPTIONS: Method.OPTIONS
- Definition Classes
- Methods
-
val
Ok: Status.Ok.type
- Definition Classes
- Statuses
-
val
PATCH: Method.PATCH
- Definition Classes
- Methods
-
val
POST: Method.POST
- Definition Classes
- Methods
-
val
PUT: Method.PUT
- Definition Classes
- Methods
-
val
PartialContent: Status.PartialContent.type
- Definition Classes
- Statuses
-
val
Path: impl.Path.type
- Definition Classes
- Http4sDsl
-
val
PayloadTooLarge: Status.PayloadTooLarge.type
- Definition Classes
- Statuses
-
val
PaymentRequired: Status.PaymentRequired.type
- Definition Classes
- Statuses
-
val
PermanentRedirect: Status.PermanentRedirect.type
- Definition Classes
- Statuses
-
val
PreconditionFailed: Status.PreconditionFailed.type
- Definition Classes
- Statuses
-
val
PreconditionRequired: Status.PreconditionRequired.type
- Definition Classes
- Statuses
-
val
Processing: Status.Processing.type
- Definition Classes
- Statuses
-
val
ProxyAuthenticationRequired: Status.ProxyAuthenticationRequired.type
- Definition Classes
- Statuses
-
val
RangeNotSatisfiable: Status.RangeNotSatisfiable.type
- Definition Classes
- Statuses
-
val
RequestHeaderFieldsTooLarge: Status.RequestHeaderFieldsTooLarge.type
- Definition Classes
- Statuses
-
val
RequestTimeout: Status.RequestTimeout.type
- Definition Classes
- Statuses
-
val
ResetContent: Status.ResetContent.type
- Definition Classes
- Statuses
-
val
Root: impl.Root.type
- Definition Classes
- Http4sDsl
-
val
SeeOther: Status.SeeOther.type
- Definition Classes
- Statuses
-
val
ServiceUnavailable: Status.ServiceUnavailable.type
- Definition Classes
- Statuses
-
implicit
val
StatusOrder: Order[Status]
- Definition Classes
- StatusInstances
-
implicit
val
StatusShow: Show[Status]
- Definition Classes
- StatusInstances
-
val
SwitchingProtocols: Status.SwitchingProtocols.type
- Definition Classes
- Statuses
-
val
TRACE: Method.TRACE
- Definition Classes
- Methods
-
val
TemporaryRedirect: Status.TemporaryRedirect.type
- Definition Classes
- Statuses
-
val
TooManyRequests: Status.TooManyRequests.type
- Definition Classes
- Statuses
-
val
Unauthorized: Status.Unauthorized.type
- Definition Classes
- Statuses
-
val
UnavailableForLegalReasons: Status.UnavailableForLegalReasons.type
- Definition Classes
- Statuses
-
val
UnprocessableEntity: Status.UnprocessableEntity.type
- Definition Classes
- Statuses
-
val
UnsupportedMediaType: Status.UnsupportedMediaType.type
- Definition Classes
- Statuses
-
val
UpgradeRequired: Status.UpgradeRequired.type
- Definition Classes
- Statuses
-
val
UriTooLong: Status.UriTooLong.type
- Definition Classes
- Statuses
-
val
UseProxy: Status.UseProxy.type
- Definition Classes
- Statuses
-
val
VariantAlsoNegotiates: Status.VariantAlsoNegotiates.type
- Definition Classes
- Statuses
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
implicit
def
asyncSyntax[F[_], A](async: Async[F]): AsyncOps[F, A]
- Definition Classes
- AsyncSyntax
-
def
binFile[F[_]](file: File)(implicit F: Sync[F]): EntityDecoder[F, File]
- Definition Classes
- EntityDecoderInstances
-
implicit
def
binary[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Segment[Byte, Unit]]
- Definition Classes
- EntityDecoderInstances
-
implicit
def
binaryChunk[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Chunk[Byte]]
- Definition Classes
- EntityDecoderInstances
-
implicit
def
byteArrayDecoder[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Array[Byte]]
- Definition Classes
- EntityDecoderInstances
-
implicit
def
byteArrayEncoder[F[_]](implicit arg0: Applicative[F]): EntityEncoder[F, Array[Byte]]
- Definition Classes
- EntityEncoderInstances
-
implicit
def
charArrayDecoder[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Array[Char]]
- Definition Classes
- EntityDecoderInstances
-
implicit
def
charArrayEncoder[F[_]](implicit F: Applicative[F], charset: Charset = DefaultCharset): EntityEncoder[F, Array[Char]]
- Definition Classes
- EntityEncoderInstances
-
implicit
def
chunkEncoder[F[_]](implicit arg0: Applicative[F]): EntityEncoder[F, Chunk[Byte]]
- Definition Classes
- EntityEncoderInstances
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
implicit
def
effectEncoder[F[_], A](implicit F: FlatMap[F], W: EntityEncoder[F, A]): EntityEncoder[F, F[A]]
- Definition Classes
- EntityEncoderInstances
-
def
emptyEncoder[F[_], A](implicit F: Applicative[F]): EntityEncoder[F, A]
- Definition Classes
- EntityEncoderInstances0
-
implicit
def
entityBodyEncoder[F[_]](implicit F: Applicative[F]): EntityEncoder[F, EntityBody[F]]
Encodes an entity body.
Encodes an entity body. Chunking of the stream is preserved. A
Transfer-Encoding: chunked
header is set, as we cannot know the content length without running the stream.- Definition Classes
- EntityEncoderInstances
-
implicit
def
entityEncoderContravariant[F[_]]: Contravariant[[β$0$]EntityEncoder[F, β$0$]]
- Definition Classes
- EntityEncoderInstances
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error[F[_], T](t: Throwable)(implicit F: Sync[F]): EntityDecoder[F, T]
Provides a mechanism to fail decoding
Provides a mechanism to fail decoding
- Definition Classes
- EntityDecoderInstances
-
implicit
def
fileEncoder[F[_]](implicit F: Sync[F]): EntityEncoder[F, File]
- Definition Classes
- EntityEncoderInstances
-
implicit
def
filePathEncoder[F[_]](implicit arg0: Sync[F]): EntityEncoder[F, java.nio.file.Path]
- Definition Classes
- EntityEncoderInstances
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
implicit
def
http4sAcceptedSyntax(status: Status.Accepted.type): AcceptedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sAlreadyReportedSyntax(status: Status.AlreadyReported.type): AlreadyReportedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sBadGatewaySyntax(status: Status.BadGateway.type): BadGatewayOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sBadRequestSyntax(status: Status.BadRequest.type): BadRequestOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sConflictSyntax(status: Status.Conflict.type): ConflictOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sContinueSyntax(status: Status.Continue.type): ContinueOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sCreatedSyntax(status: Status.Created.type): CreatedOps[IO]
- Definition Classes
- Responses
-
implicit
val
http4sEqForCharsetRange: Eq[CharsetRange]
- Definition Classes
- CharsetRangeInstances
-
implicit
val
http4sEqForMethod: Eq[Method]
- Definition Classes
- MethodInstances
-
implicit
def
http4sExpectationFailedSyntax(status: Status.ExpectationFailed.type): ExpectationFailedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sFailedDependencySyntax(status: Status.FailedDependency.type): FailedDependencyOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sForbiddenSyntax(status: Status.Forbidden.type): ForbiddenOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sFoundSyntax(status: Status.Found.type): FoundOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sGatewayTimeoutSyntax(status: Status.GatewayTimeout.type): GatewayTimeoutOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sGoneSyntax(status: Status.Gone.type): GoneOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sHttpVersionNotSupportedSyntax(status: Status.HttpVersionNotSupported.type): HttpVersionNotSupportedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sIMUsedSyntax(status: Status.IMUsed.type): IMUsedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sInsufficientStorageSyntax(status: Status.InsufficientStorage.type): InsufficientStorageOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sInternalServerErrorSyntax(status: Status.InternalServerError.type): InternalServerErrorOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sKleisliResponseSyntax[F[_], A](service: Kleisli[[β$0$]OptionT[F, β$0$], A, Response[F]])(implicit arg0: Functor[F]): KleisliResponseOps[F, A]
- Definition Classes
- KleisliSyntax
-
implicit
def
http4sLengthRequiredSyntax(status: Status.LengthRequired.type): LengthRequiredOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sLiteralsSyntax(sc: StringContext): LiteralsOps
- Definition Classes
- LiteralsSyntax
-
implicit
def
http4sLockedSyntax(status: Status.Locked.type): LockedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sLoopDetectedSyntax(status: Status.LoopDetected.type): LoopDetectedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sMethodConcatSyntax(methods: MethodConcat): MethodConcatOps
- Definition Classes
- Http4sDsl
-
implicit
def
http4sMethodNotAllowedSyntax(status: Status.MethodNotAllowed.type): MethodNotAllowedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sMethodSyntax(method: Method): MethodOps
- Definition Classes
- Http4sDsl
-
implicit
def
http4sMovedPermanentlySyntax(status: Status.MovedPermanently.type): MovedPermanentlyOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sMultiStatusSyntax(status: Status.MultiStatus.type): MultiStatusOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sMultipleChoicesSyntax(status: Status.MultipleChoices.type): MultipleChoicesOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sNetworkAuthenticationRequiredSyntax(status: Status.NetworkAuthenticationRequired.type): NetworkAuthenticationRequiredOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sNoContentSyntax(status: Status.NoContent.type): NoContentOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sNonAuthoritativeInformationSyntax(status: Status.NonAuthoritativeInformation.type): NonAuthoritativeInformationOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sNotAcceptableSyntax(status: Status.NotAcceptable.type): NotAcceptableOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sNotExtendedSyntax(status: Status.NotExtended.type): NotExtendedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sNotFoundSyntax(status: Status.NotFound.type): NotFoundOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sNotImplementedSyntax(status: Status.NotImplemented.type): NotImplementedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sNotModifiedSyntax(status: Status.NotModified.type): NotModifiedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sOkSyntax(status: Status.Ok.type): OkOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sPartialContentSyntax(status: Status.PartialContent.type): PartialContentOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sPayloadTooLargeSyntax(status: Status.PayloadTooLarge.type): PayloadTooLargeOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sPaymentRequiredSyntax(status: Status.PaymentRequired.type): PaymentRequiredOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sPermanentRedirectSyntax(status: Status.PermanentRedirect.type): PermanentRedirectOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sPreconditionFailedSyntax(status: Status.PreconditionFailed.type): PreconditionFailedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sPreconditionRequiredSyntax(status: Status.PreconditionRequired.type): PreconditionRequiredOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sProxyAuthenticationRequiredSyntax(status: Status.ProxyAuthenticationRequired.type): ProxyAuthenticationRequiredOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sRangeNotSatisfiableSyntax(status: Status.RangeNotSatisfiable.type): RangeNotSatisfiableOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sRequestHeaderFieldsTooLargeSyntax(status: Status.RequestHeaderFieldsTooLarge.type): RequestHeaderFieldsTooLargeOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sRequestTimeoutSyntax(status: Status.RequestTimeout.type): RequestTimeoutOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sResetContentSyntax(status: Status.ResetContent.type): ResetContentOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sSeeOtherSyntax(status: Status.SeeOther.type): SeeOtherOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sServiceUnavailableSyntax(status: Status.ServiceUnavailable.type): ServiceUnavailableOps[IO]
- Definition Classes
- Responses
-
implicit
val
http4sShowForCharsetRange: Show[Charset]
- Definition Classes
- CharsetRangeInstances
-
implicit
val
http4sShowForMethod: Show[Method]
- Definition Classes
- MethodInstances
-
implicit
def
http4sStringSyntax(s: String): StringOps
- Definition Classes
- StringSyntax
-
implicit
def
http4sSwitchingProtocolsSyntax(status: Status.SwitchingProtocols.type): SwitchingProtocolsOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sTemporaryRedirectSyntax(status: Status.TemporaryRedirect.type): TemporaryRedirectOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sTooManyRequestsSyntax(status: Status.TooManyRequests.type): TooManyRequestsOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sUnauthorizedSyntax(status: Status.Unauthorized.type): UnauthorizedOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sUnavailableForLegalReasonsSyntax(status: Status.UnavailableForLegalReasons.type): UnavailableForLegalReasonsOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sUnprocessableEntitySyntax(status: Status.UnprocessableEntity.type): UnprocessableEntityOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sUnsupportedMediaTypeSyntax(status: Status.UnsupportedMediaType.type): UnsupportedMediaTypeOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sUpgradeRequiredSyntax(status: Status.UpgradeRequired.type): UpgradeRequiredOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sUriTooLongSyntax(status: Status.UriTooLong.type): UriTooLongOps[IO]
- Definition Classes
- Responses
-
implicit
def
http4sVariantAlsoNegotiatesSyntax(status: Status.VariantAlsoNegotiates.type): VariantAlsoNegotiatesOps[IO]
- Definition Classes
- Responses
-
implicit
def
inputStreamEncoder[F[_], IS <: InputStream](implicit arg0: Sync[F]): EntityEncoder[F, F[IS]]
- Definition Classes
- EntityEncoderInstances
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
def
multipart[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Multipart[F]]
- Definition Classes
- EntityDecoderInstances
-
implicit
def
multipartEncoder[F[_]](implicit arg0: Sync[F]): EntityEncoder[F, Multipart[F]]
- Definition Classes
- EntityEncoderInstances
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
macro
def
q(d: Double): QValue
Supports a literal syntax for validated QValues.
Supports a literal syntax for validated QValues.
Example:
q(0.5).success == QValue.fromDouble(0.5) q(1.1) // does not compile: out of range val d = 0.5 q(d) // does not compile: not a literal
- Definition Classes
- QValueFunctions
-
implicit
val
qValueHttpCodec: HttpCodec[QValue]
- Definition Classes
- QValueInstances
-
implicit
val
qValueOrder: Order[QValue]
- Definition Classes
- QValueInstances
-
implicit
val
qValueShow: Show[QValue]
- Definition Classes
- QValueInstances
-
implicit
def
readerEncoder[F[_], R <: Reader](implicit F: Sync[F], charset: Charset = DefaultCharset): EntityEncoder[F, F[R]]
- Definition Classes
- EntityEncoderInstances
-
def
removeDotSegments(path: Uri.Path): Uri.Path
Remove dot sequences from a Path, per RFC 3986 Sec 5.2.4
Remove dot sequences from a Path, per RFC 3986 Sec 5.2.4
- Definition Classes
- UriFunctions
-
def
resolve(base: Uri, reference: Uri): Uri
Resolve a relative Uri reference, per RFC 3986 sec 5.2
Resolve a relative Uri reference, per RFC 3986 sec 5.2
- Definition Classes
- UriFunctions
-
implicit
def
segmentEncoder[F[_]](implicit arg0: Applicative[F]): EntityEncoder[F, Segment[Byte, Unit]]
- Definition Classes
- EntityEncoderInstances
-
implicit
def
serverSentEventEncoder[F[_]](implicit arg0: Applicative[F]): EntityEncoder[F, EventStream[F]]
- Definition Classes
- EntityEncoderInstances
-
def
showEncoder[F[_], A](implicit arg0: Applicative[F], charset: Charset = DefaultCharset, show: Show[A]): EntityEncoder[F, A]
Encodes a value from its Show instance.
Encodes a value from its Show instance. Too broad to be implicit, too useful to not exist.
- Definition Classes
- EntityEncoderInstances0
-
implicit
def
streamEncoder[F[_], A](implicit F: Applicative[F], W: EntityEncoder[F, A]): EntityEncoder[F, Stream[F, A]]
A stream encoder is intended for streaming, and does not calculate its bodies in advance.
A stream encoder is intended for streaming, and does not calculate its bodies in advance. As such, it does not calculate the Content-Length in advance. This is for use with chunked transfer encoding.
- Definition Classes
- EntityEncoderInstances0
-
implicit
def
stringEncoder[F[_]](implicit F: Applicative[F], charset: Charset = DefaultCharset): EntityEncoder[F, String]
- Definition Classes
- EntityEncoderInstances
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
implicit
def
text[F[_]](implicit arg0: Sync[F], defaultCharset: Charset = DefaultCharset): EntityDecoder[F, String]
- Definition Classes
- EntityDecoderInstances
-
def
textFile[F[_]](file: File)(implicit F: Sync[F]): EntityDecoder[F, File]
- Definition Classes
- EntityDecoderInstances
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
implicit
def
unitEncoder[F[_]](implicit arg0: Applicative[F]): EntityEncoder[F, Unit]
- Definition Classes
- EntityEncoderInstances
-
macro
def
uri(s: String): Uri
Literal syntax for URIs.
Literal syntax for URIs. Invalid or non-literal arguments are rejected at compile time.
- Definition Classes
- UriFunctions
-
implicit
def
void[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Unit]
An entity decoder that ignores the content and returns unit.
An entity decoder that ignores the content and returns unit.
- Definition Classes
- EntityDecoderInstances
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
~: impl.~.type
- Definition Classes
- Http4sDsl
Deprecated Value Members
-
implicit
def
futureEncoder[F[_], A](implicit F: Async[F], ec: ExecutionContext, W: EntityEncoder[F, A]): EntityEncoder[F, Future[A]]
- Definition Classes
- EntityEncoderInstances0
- Annotations
- @deprecated
- Deprecated
(Since version 0.18.5) This encoder breaks referential transparency and can cause unintended evaluation of expressions if you're not careful. See: https://github.com/http4s/http4s/issues/1757, which means you can potentially evaluate futures eagerly. You could end up executing a statement you don't intend to despite it not returning to you as a value.
If you _must_ use futures, use something such as
IO.fromFuture(IO(myFuture))
or define your own helper that does not evaluate the future eagerly, as otherwise it will evaluate the moment it's bound.
-
implicit
def
http4sEffectRequestSyntax[F[_]](req: F[Request[F]]): EffectRequestOps[F]
- Definition Classes
- EffectRequestSyntax
- Annotations
- @deprecated
- Deprecated
(Since version 0.18.0-M2) Use map or flatMap directly on the request
-
implicit
def
http4sEffectResponseSyntax[F[_]](resp: F[Response[F]]): EffectResponseOps[F]
- Definition Classes
- EffectResponseSyntax
- Annotations
- @deprecated
- Deprecated
(Since version 0.18.0-M2) Use map or flatMap directly on the response
-
implicit
def
http4sNonEmptyListSyntax[A](l: NonEmptyList[A]): NonEmptyListOps[A]
- Definition Classes
- NonEmptyListSyntax
- Annotations
- @deprecated
- Deprecated
(Since version 0.18.5) Use cats.foldable._