Package io. kvision. jquery. rest
Legacy, jquery-based RESTful API client with support for type-safe connectivity.
Types
Link copied to clipboard
class BadGateway( val url: String, val method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class BadRequest( val url: String, val method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class Forbidden( val url: String, val method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
An agent responsible for remote calls.
Link copied to clipboard
class NotAllowed( val url: String, val method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class NotFound( val url: String, val method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class NotImplemented( val url: String, val method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
open class RemoteRequestException( val code: Short, val url: String, val method: HttpMethod, message: String)
Content copied to clipboard
Link copied to clipboard
class ServerError( val url: String, val method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class ServiceUnavailable( val url: String, val method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class Unauthorized( val url: String, val method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class XHRError( val url: String, val method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Code 0 does not represent any http status, it represent XHR error (e.g. network error, CORS failure).