Expand description
Language-neutral source types for lenso-process-jsonrpc-http-v1.
Modules§
- authoring
- Runtime-neutral values shared by Authoring V2 execution profiles.
Structs§
- Authoring
Handshake Proof Input - Values bound by an Authoring V2 initialization handshake.
- Cancel
Params - Idempotent cancel params.
- Capability
Descriptor - One exact provided Capability Descriptor.
- Control
Ack - Successful cancel or shutdown acknowledgement.
- Execution
Target Capability Profile - Machine-checkable declaration of one exact Adapter or Driver target.
- Handshake
Identity - Immutable identity the child must echo exactly during handshake.
- Handshake
Params - Host-to-child handshake params.
- Handshake
Result - Child-to-host accepted handshake result.
- Invocation
Extension - Portable invocation extension transported without domain interpretation.
- Json
RpcError - Strict JSON-RPC 2.0 error response. Parse/invalid-request errors use a null ID.
- Json
RpcError Object - Strict JSON-RPC 2.0 error object used before a method result exists.
- Json
RpcRequest - Strict JSON-RPC request envelope.
- Json
RpcSuccess - Strict successful JSON-RPC response envelope.
- Operation
Descriptor - One exact provided operation in handshake identity.
- Outbound
Binding Descriptor - One exact outbound binding exposed only by a selected consume profile.
- Peer
Limits - Peer-confirmed limits that must match exactly during handshake.
- Protocol
Error - Error returned when a Process Protocol document is malformed or inconsistent.
- Readiness
Record - One bounded readiness record written on the dedicated inherited handle.
- Request
Params - Host-to-child request params for
provide-request-v1. - Request
Result - Child-to-host request result.
- Shutdown
Params - Graceful shutdown params.
Enums§
- Child
Runtime Failure - Runtime Failures the child is permitted to originate.
- Execution
Target Capability - Closed feature vocabulary for an execution target.
- Interaction
Kind - Interaction kinds admitted by the base V1 profile.
- Process
Outcome - Child-originated request outcomes allowed by V1.
Constants§
- CANCEL_
METHOD - Control method used for idempotent cancellation.
- EXECUTION_
TARGET_ CAPABILITY_ PROFILE - Exact versioned profile identity for execution-target capabilities.
- HANDSHAKE_
METHOD - Control method used once during process startup.
- MAX_
STRICT_ JSON_ NESTING - Maximum nested object/array container count accepted by the strict JSON profile.
- PROCESS_
PROFILE - Exact Process Protocol profile selected by an Adapter.
- PROVIDE_
REQUEST_ PROFILE - Mandatory child-provides-request interaction profile.
- REQUEST_
METHOD - Data method used for one request interaction.
- SHUTDOWN_
METHOD - Control method used for graceful child shutdown.
- VALUE_
PROFILE - Portable JSON value profile used by request payloads.
Functions§
- authoring_
callback_ proof_ message - Returns the exact bytes authenticating one child-to-Host callback request.
- authoring_
child_ proof_ message - Returns the exact bytes authenticated by the Authoring V2 child proof.
- authoring_
handshake_ proof_ payload - Returns the canonical bytes hashed before authenticating Authoring V2 initialization.
- authoring_
host_ proof_ message - Returns the exact bytes authenticated by the Authoring V2 Host proof.
- canonicalize_
proof_ value - Returns RFC 8785-compatible canonical bytes for the restricted proof profile.
- child_
proof_ message - Returns the exact bytes authenticated by
child_proof. - decode_
strict - Decodes strict JSON, rejecting duplicate object keys before typed decoding.
- encode_
compact - Encodes an already validated protocol document as compact JSON.
- handshake_
params_ digest - Computes the raw SHA-256 digest bound by host and child handshake proofs.
- host_
proof_ message - Returns the exact bytes authenticated by
host_proof.