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.
Use it to define common headers, error-handling, base url, etc. for a specific API for example. By calling one of the executing methods like get or post a specific request is built from the template and send to the server.