OptionalcredentialsWhether credentials should be included with every HTTP request.
OptionalrequestAn object literal that represents headers (as a key-value map) to send with each HTTP request. If set (and not empty), an XHR with the specified headers will be performed instead of creating an Image.
OptionalrequestAn object literal that represents URL parameters (as a key-value map) to send with each HTTP request. If set (and not empty), an XHR with the specified query parameters will be performed instead of creating an Image.
Interface to provide HTTP request options.