Simple
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.
Note: the F[_]
type parameter is the message encoder (eg. JsonCodec
, boopickle.Pickler
)
trait Serializable
trait Product
trait Equals
trait AjaxProtocol[F]
class Object
trait Matchable
class Any