The contents of the HTML accept header, which defines the
content-types that are acceptable for the response. You want to change this if you want to support another format. In that
case, you also need to change the Codec used by this Store
.
The Codec which will be used to convert the server response into LuciadRIA Feature instances.
The Codec
only needs to support the decode
method. There is no need for an
encode
method as this is a read-only Store
. You want to change this if you want to support
another format. In that case, you also need to change the accept header by specifying the accept
property.
Whether credentials should be included with every HTTP request.
This value determines what type of data to pass into Codec.decode.
"string"
uses a string
primitive. This is the default and the fallback value."arraybuffer"
uses a ArrayBuffer
object."blob"
uses a raw Blob
object."json"
parses a JSON response into a JS object.An 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.
An 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.
The base URL from which to retrieve the resource
Constructor options for UrlStore.