AjaxProtocol

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

final case class Simple[F[_], _Req, _Res](url: Relative, req: Of[F, _Req], res: Of[F, _Res]) extends AjaxProtocol[F]

Simple because the response protocol is static and independent of request data. This is opposed to dependently-typed protocols where the response protocol depends on the request value.

Simple because the response protocol is static and independent of request data. This is opposed to dependently-typed protocols where the response protocol depends on the request value.

Note: the F[_] type parameter is the message encoder (eg. JsonCodec, boopickle.Pickler)