Represents the functions needed to authenticate a user and in which cases the authentication should be made.
for handling errors with connecting
open class Request
, headers: Map
>, body: dynamic, referrer: String
?, referrerPolicy: dynamic, mode: RequestMode
?, credentials: RequestCredentials
?, cache: RequestCache
?, redirect: RequestRedirect
?, integrity: String
?, keepalive: Boolean
?, reqWindow: Any
?, authentication: Authentication
Represents the common fields an attributes of a given set of http requests.
represents a session via websocket after connection was successful.
represents the actual state of the websocket connection.
defines how to connect via websocket.
extracts the body as arrayBuffer from the given Response
extracts the body as blob from the given Response
extracts the body as string from the given Response
extracts the body as formData from the given Response
extracts the body as json from the given Response
creates a new Socket
for bidirectional communication with the server.