Environment-specific options
Holds the Storage instance associated with this instance
Environment-specific options
ASCII string to Base64
Base64Url to ASCII string
ASCII string or Uint8Array to Base64URL
Base64 to ASCII string
Returns a reference to the AbortController constructor. In browsers, AbortController will always be available as global (native or polyfilled)
Returns the protocol of the current request ("http" or "https")
Creates and returns adapter-aware SMART api. Not that while the shape of the returned object is well known, the arguments to this function are not. Those who override this method are free to require any environment-specific arguments. For example in node we will need a request, a response and optionally a storage or storage factory function.
Returns a ServerStorage instance
Given the current environment, this method must return the current url as URL instance. In Node we might be behind a proxy!
Given the current environment, this method must redirect to the given path
The path to redirect to
Given a relative path, returns an absolute url using the instance base URL
Generated using TypeDoc
Node Adapter - works with native NodeJS and with Express