Skip to main content

Crate lenso_capability_http_endpoint

Crate lenso_capability_http_endpoint 

Source
Expand description

Generated bindings for backend-owned HTTP Endpoint providers.

Macros§

http_endpoint
Implements a statically routed HttpEndpoint from one route table.

Structs§

Bytes
Shared native bytes encoded as canonical padded Base64 on the wire.
DescribeRequest
DescribeResponse
DescribeResponseRoutesItem
EndpointClient
EndpointDescribe
EndpointEndpoint
EndpointHandle
EndpointRoute
One immutable HTTP route owned by an Endpoint provider.
HandleRequest
HandleRequestCredential
HandleRequestHeadersItem
HandleRequestPathParametersItem
HandleResponse
HandleResponseHeadersItem
UnknownDomainError
A forward-compatible Capability-defined error unknown to this binding version.

Enums§

DescribeError
EndpointDescribeInvocationError
EndpointHandleInvocationError
HandleError

Constants§

CAPABILITY_ID
CROSS_LANE_TRANSFER
DESCRIBE_OPERATION
DESCRIPTOR_VERSION
ENDPOINT_CAPABILITY_ID
ENDPOINT_DESCRIPTOR_VERSION
HANDLE_OPERATION
PORTABLE

Traits§

EndpointProvider
HttpEndpoint
A statically routed HTTP Endpoint whose declarations and dispatch share one source.

Functions§

decode_describe_error
decode_describe_request
decode_describe_response
decode_handle_error
decode_handle_request
decode_handle_response
encode_describe_error
encode_describe_request
encode_describe_response
encode_handle_error
encode_handle_request
encode_handle_response

Type Aliases§

EndpointFuture
Boxed local handler result used by an authored HTTP Endpoint.