Expand description
The parts of RFC 8620 a server must do itself, whatever answers the methods: request validation (§3.3, §3.6.1), result references (§3.7) and creation ids (§5.3). Shared with the client, which checks the same shapes on the way out.
Structs§
Constants§
- CAPABILITIES
- CORE
- MAX_
CALLS - MAX_
DEPTH - Nesting of the request JSON; the handler’s arguments are bounded the same way.
- MAX_
OBJECTS_ IN_ GET - MAX_
OBJECTS_ IN_ SET - SUBMISSION
- VACATION
Functions§
- capability
- The capability a method’s type needs, or None for a method this server does not offer.
- check_
limits - RFC 8620 §5.1 and §5.3 size limits, as a method error type.
- depth
- method_
error - A method-level error (RFC 8620 §3.6.2).
- parse
- Parse and validate a request body.
- pointer
- Evaluate an RFC 8620 §3.7 JSON Pointer, where
*maps over an array and flattens. - record_
created - Record the ids a /set or /copy response created.
- resolve_
references - Replace every
#nameargument with the value it references.earlierholds the responses so far as (name, arguments, call id). - substitute_
creation_ ids - Replace
#creationIdwith the id it was created as, wherever an id may appear: as a string value and as an object key (as inmailboxIds).