ZPartialServerEndpoint
An endpoint, with some of the server logic already provided, and some left unspecified. See RichZEndpoint.zServerLogicForCurrent.
The part of the server logic which is provided transforms some inputs either to an error of type E
, or value of
type U
.
The part of the server logic which is not provided, transforms a tuple: (U, I)
either into an error, or a value
of type O
.
Inputs/outputs can be added to partial endpoints as to regular endpoints, however the shape of the error outputs is fixed and cannot be changed.
- Type Params
- E
Error output parameter types.
- I
Input parameter types.
- O
Output parameter types.
- R
The environment needed by the partial server logic.
- U
Type of partially transformed input.
Type members
Value members
Concrete methods
Inherited methods
- Inherited from
- EndpointInfoOps
- Inherited from
- EndpointInputsOps
- Inherited from
- EndpointInputsMacros
- Inherited from
- EndpointOutputsMacros
- Inherited from
- EndpointOutputsOps
- Inherited from
- EndpointOutputsOps
- Inherited from
- EndpointInputsOps
- Inherited from
- EndpointInputsOps
- Inherited from
- EndpointOutputsOps
- Inherited from
- EndpointOutputsOps
- Inherited from
- EndpointOutputsOps
Renders endpoint path, by default all parametrised path and query components are replaced by {param_name} or {paramN}, e.g. for
Renders endpoint path, by default all parametrised path and query components are replaced by {param_name} or {paramN}, e.g. for
endpoint.in("p1" / path[String] / query[String]("par2"))
returns /p1/{param1}?par2={par2}
- Value Params
- includeAuth
Should authentication inputs be included in the result.
- Inherited from
- EndpointMetaOps
Basic information about the endpoint, excluding mapping information, with inputs sorted (first the method, then path, etc.)
Basic information about the endpoint, excluding mapping information, with inputs sorted (first the method, then path, etc.)
- Inherited from
- EndpointMetaOps
Detailed description of the endpoint, with inputs/outputs represented in the same order as originally defined, including mapping information.
Detailed description of the endpoint, with inputs/outputs represented in the same order as originally defined, including mapping information.
- Inherited from
- EndpointMetaOps