Skip to main content

Module request

Module request 

Source
Expand description

One operation plus values that satisfy it, and the request that falls out.

Invocation::new is the only way to make one, and it validates: an Invocation that exists names an operation, carries every required parameter, carries nothing the operation does not declare, and holds a body of the kind the operation asks for. Invocation::request is then a rendering, not a decision — it can only fail on a base URL that is not a URL.

This is the only request builder in the workspace. A CLI reaches it through the tree module (feature clap); a generated Rust wrapper reaches it by building a Values directly. Neither spells a path template twice.

Structs§

Invocation
An operation with values that satisfy it.

Enums§

ValueError
Values the document rejects for this operation.

Functions§

render
The request as it goes on the wire, for a dry run.