AjaxF

japgolly.scalajs.react.extra.internal.AjaxF
class AjaxF[F[_], Async[_]](implicit F: Sync[F], Async: Async[Async])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Ajax.type

Members list

Type members

Classlikes

final class Step1(init: () => Unit)

Attributes

Supertypes
class Object
trait Matchable
class Any
final class Step2(begin: () => Unit, onreadystatechange: Option[() => Unit], ontimeout: Option[() => Unit], onprogress: Option[OnProgress], onuploadprogress: Option[OnProgress])

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(method: String, url: String): Step1
def apply(method: String, url: String, user: String, password: String): Step1
def deriveErrorMessage(xhr: XMLHttpRequest): String
def get(url: String): Step1
def isStatusSuccessful(status: Int): Boolean

Generic HTTP code validation

Generic HTTP code validation

Attributes

def post(url: String): Step1