Class: ServerCapabilities

ServerCapabilities

new ServerCapabilities(optsopt)

This class represents a JMAP ServerCapabilities.
An ServerCapabilities object describes general capabilities of a JMAP server.

Parameters:
Name Type Attributes Description
opts Object <optional>

The optional properties of this ServerCapabilities.

Properties
Name Type Attributes Default Description
maxSizeUpload Number <optional>
0

The maximum file size, in bytes, that the server will accept for a single file upload.

maxSizeRequest Number <optional>
0

The maximum size, in bytes, that the server will accept for a single request to the API endpoint.

maxConcurrentUpload Number <optional>
1

The maximum number of concurrent requests the server will accept to the upload endpoint.

maxConcurrentRequests Number <optional>
1

The maximum number of concurrent requests the server will accept to the API endpoint.

maxCallsInRequest Number <optional>
1

The maximum number of method calls the server will accept in a single request to the API endpoint.

maxObjectsInGet Number <optional>
0

The maximum number of objects that the client may request in a single getXXX type method call.

maxObjectsInSet Number <optional>
0

The maximum number of objects the client may send to create, update or destroy in a single setXXX type method call.

Source: