Rest
...args: string[]Static
Readonly
BINARYStatic
Readonly
StatusReturns the specification of this message
Gets the request accept header
Sets the request accept header
This message object
the accept header value
Gets the ACL of a file into the Baqend-Acl header
Sets and encodes the ACL of a file into the Baqend-Acl header
This message object
the file ACLs
Adds the given string to the request path
If the parameter is an object, it will be serialized as a query string.
which will added to the request path
Gets the cache control header
Sets the cache control header
This message object
The cache control flags
Gets the contentLength
Sets the contentLength
This message object
the content length of the data
Gets and encodes the custom headers of a file into the Baqend-Custom-Headers header
Sets and encodes the custom headers of a file into the Baqend-Custom-Headers header
This message object
the file custom headers
Sets the entity type
This message object
The data to send
Optional
type: RequestBodyTypethe type of the data one of 'json'|'text'|'blob'|'arraybuffer' defaults detect the type based on the body data
Gets the value of a the specified request header
The header value
The header name
Sets the value of a the specified request header
This message object
The header name
The header value if omitted the value will be returned
Optional
value: null | stringGets the request conditional If-Match header
This message object
Sets the request conditional If-Match header
This message object
the If-Match ETag value
Gets the request a ETag based conditional header
Sets the request a ETag based conditional header
This message object
The ETag value
Gets the request date based conditional header
Sets the request date based conditional header
This message object
The date value
Get the mimeType
This message object
Sets the mimeType
This message object
the mimeType of the data
Indicates that the request should not be served by a local cache
Gets the request path
The path of the message value
Sets the request path
This message object
The new path value, any query parameters provided with the path will be merged with the exiting query params
Gets the progress callback
The callback set
Sets the progress callback
This message object
Gets the response type which should be returned
This message object
Sets the response type which should be returned
This message object
The response type one of 'json'|'text'|'blob'|'arraybuffer' defaults to 'json'
Gets the tokenStorage which stored credentials are used to authorize this message
The header value
Sets the tokenStorage which stored credentials are used to authorize this message
This message object
The new tokenStorage used to authorize this message
Static
createCreates a new message class with the given message specification
A created message object for the specification
Generated using TypeDoc
The path arguments