DefaultJsonAjaxClient

trait DefaultJsonAjaxClient extends Json[JsonCodec]
trait Json[JsonCodec]
trait WithRetries[JsonCodec]
trait AjaxClient[JsonCodec]
class Object
trait Matchable
class Any
object JsonAjaxClient.type

Value members

Concrete methods

override protected def decode[A](p: JsonCodec[A], j: String): Response[A]
Definition Classes
Json
override protected def encode[A](p: JsonCodec[A], a: A): String
Definition Classes
Json

Inherited methods

override def asyncFunction(p: AjaxProtocol[JsonCodec]): AsyncFunction[RequestType, ErrorMsg, ResponseType]
Definition Classes
WithRetries -> AjaxClient
Inherited from:
WithRetries
protected def callWithRetry(p: AjaxProtocol[JsonCodec])(req: RequestType): AsyncCallback[Response[ResponseType]]
Inherited from:
WithRetries
protected def isSuccess(xhr: XMLHttpRequest): Boolean
Inherited from:
Json
override def singleCall(p: AjaxProtocol[JsonCodec])(req: RequestType): AsyncCallback[Response[ResponseType]]
Definition Classes
Json -> WithRetries
Inherited from:
Json

Inherited fields

protected val maxRetries: Int
Inherited from:
WithRetries