Expand description
Generated bindings for backend-owned HTTP Endpoint providers.
Modules§
- response
- Typed response construction for authored HTTP Endpoint handlers.
Macros§
- http_
endpoint - Implements a statically routed
HttpEndpointfrom one route table.
Structs§
- Bytes
- Shared native bytes encoded as canonical padded Base64 on the wire.
- Describe
Request - Describe
Response - Describe
Response Routes Item - Endpoint
Client - Endpoint
Describe - Endpoint
Endpoint - Endpoint
Handle - Endpoint
Route - One immutable HTTP route owned by an Endpoint provider.
- Handle
Request - Handle
Request Credential - Handle
Request Headers Item - Handle
Request Path Parameters Item - Handle
Response - Handle
Response Headers Item - Json
- A JSON request body decoded into
T. - Middleware
Outcome - The result of one Endpoint-owned middleware step.
- Path
- Route path parameters decoded into
Tby field name. - Query
- The URL query string decoded into
T. - Request
Id - The trusted request identifier assigned by Web Ingress.
- Unknown
Domain Error - A forward-compatible Capability-defined error unknown to this binding version.
Enums§
- Describe
Error - Endpoint
Describe Invocation Error - Endpoint
Handle Invocation Error - Extractor
Rejection - A typed extractor rejection before the authored handler runs.
- Handle
Error
Constants§
- CAPABILITY_
ID - CROSS_
LANE_ TRANSFER - DESCRIBE_
OPERATION - DESCRIPTOR_
VERSION - ENDPOINT_
CAPABILITY_ ID - ENDPOINT_
DESCRIPTOR_ VERSION - HANDLE_
OPERATION - PORTABLE
Traits§
- Endpoint
Provider - From
Request - Extracts one typed handler argument from an inbound HTTP request.
- Http
Endpoint - 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§
- Endpoint
Future - Boxed local handler result used by an authored HTTP Endpoint.
- Extractor
Future - Boxed local extraction result used by an authored Endpoint handler.
Attribute Macros§
- endpoint
- Generates one HTTP Endpoint provider from handler route attributes.