Type Members
-
abstract
type
Endpoint[A, B]
-
implicit
class
InvariantFunctorSyntax[A, F[_]] extends AnyRef
-
type
JsonCodec[A] = CirceCodec[A]
-
type
JsonRequest[A] = Codec[String, A]
-
type
JsonResponse[A] = Codec[String, A]
-
abstract
type
Method
-
abstract
type
Path[A] <: Url[A]
-
implicit
class
PathOps[A] extends AnyRef
-
abstract
type
QueryString[A]
-
implicit
class
QueryStringOps[A] extends AnyRef
-
abstract
type
QueryStringParam[A]
-
abstract
type
Request[A]
-
abstract
type
RequestEntity[A]
-
abstract
type
RequestHeaders[A]
-
abstract
type
Response[A]
-
abstract
type
Segment[A]
-
implicit
class
SemigroupalSyntax[A, F[_]] extends AnyRef
-
abstract
type
Url[A]
Abstract Value Members
-
abstract
def
Delete: Method
-
abstract
def
Get: Method
-
abstract
def
Options: Method
-
abstract
def
Patch: Method
-
abstract
def
Post: Method
-
abstract
def
Put: Method
-
abstract
def
chainPaths[A, B](first: Path[A], second: Path[B])(implicit tupler: Tupler[A, B]): Path[Out]
-
abstract
def
combineQueryStrings[A, B](first: QueryString[A], second: QueryString[B])(implicit tupler: Tupler[A, B]): QueryString[Out]
-
-
-
-
-
-
implicit abstract
def
intQueryString: QueryStringParam[Int]
-
implicit abstract
def
intSegment: Segment[Int]
-
-
-
implicit abstract
def
longQueryString: QueryStringParam[Long]
-
implicit abstract
def
longSegment: Segment[Long]
-
abstract
def
optHeader(name: String, docs: Documentation): RequestHeaders[Option[String]]
-
-
abstract
def
option[A](response: Response[A], notFoundDocs: Documentation): Response[Option[A]]
-
-
implicit abstract
def
reqEntityInvFunctor: InvariantFunctor[RequestEntity]
-
implicit abstract
def
reqHeadersInvFunctor: InvariantFunctor[RequestHeaders]
-
implicit abstract
def
reqHeadersSemigroupal: Semigroupal[RequestHeaders]
-
abstract
def
request[UrlP, BodyP, HeadersP, UrlAndBodyPTupled](method: Method, url: Url[UrlP], entity: RequestEntity[BodyP], headers: RequestHeaders[HeadersP])(implicit tuplerAB: Tupler.Aux[UrlP, BodyP, UrlAndBodyPTupled], tuplerABC: Tupler[UrlAndBodyPTupled, HeadersP]): Request[Out]
-
abstract
def
segment[A](name: String, docs: Documentation)(implicit s: Segment[A]): Path[A]
-
abstract
def
staticPathSegment(segment: String): Path[Unit]
-
implicit abstract
def
stringQueryString: QueryStringParam[String]
-
implicit abstract
def
stringSegment: Segment[String]
-
-
abstract
def
textResponse(docs: Documentation): Response[String]
-
implicit abstract
def
urlInvFunctor: InvariantFunctor[Url]
-
abstract
def
urlWithQueryString[A, B](path: Path[A], qs: QueryString[B])(implicit tupler: Tupler[A, B]): Url[Out]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
implicit
def
circeDecoderToDecoder[A](implicit decoder: io.circe.Decoder[A]): Decoder[Json, A]
-
implicit
def
circeEncoderToEncoder[A](implicit encoder: io.circe.Encoder[A]): Encoder[A, Json]
-
def
clone(): AnyRef
-
implicit
def
dummyPathToUrl[A](p: Path[A]): Url[A]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
get[UrlP, HeadersP](url: Url[UrlP], headers: RequestHeaders[HeadersP])(implicit tuplerAC: Tupler[UrlP, HeadersP]): Request[Out]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
implicit
def
jsonCodec[A](implicit codec: CirceCodec[A]): Codec[String, A]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
final
def
post[UrlP, BodyP, HeadersP, UrlAndBodyPTupled](url: Url[UrlP], entity: RequestEntity[BodyP], headers: RequestHeaders[HeadersP])(implicit tuplerAB: Tupler.Aux[UrlP, BodyP, UrlAndBodyPTupled], tuplerABC: Tupler[UrlAndBodyPTupled, HeadersP]): Request[Out]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Partial interpreter for endpoints.algebra.JsonEntitiesFromCodec that only fixes the
JsonCodec[A]
type to a CirceCodec.The
jsonRequest
andjsonResponse
operations have to be implemented by a more specialized interpreter.Typical usage: