Expand description
The Conjure HTTP server API.
Modules§
- conjure
- Implementations for Conjure-generated endpoints.
- runtime
- Runtime configuration for Conjure servers.
Structs§
- BoxAsync
Endpoint - A boxed
AsyncEndpoint
trait object. - BoxAsync
Write Body - A boxed
AsyncWriteBody
trait object. - Conjure
Runtime - A type providing server logic that is configured at runtime.
- From
Decoder - A decoder which maps the output of another with
From::from
. - From
Request Deserializer - A request deserializer which maps the output of another with
From::from
. - From
StrSeq Decoder - A decoder which converts a sequence of values via its
FromStr
implementation into a collection via aFromIterator
implementation. - Json
Encoding - An
Encoding
usingconjure_serde::json
. - Request
Context - An object containing extra low-level contextual information about a request.
- Smile
Encoding - An
Encoding
usingconjure_serde::smile
. - UseLegacy
Error Serialization - A marker value to opt into legacy error serialization.
Enums§
- Async
Response Body - The response body returned from an async endpoint.
- Empty
Response Serializer - A serializer which encodes
()
as an empty body and status code of204 No Content
. - From
StrDecoder - A decoder which converts a single value using its
FromStr
implementation. - From
StrOption Decoder - A decoder which converts an optional value using its
FromStr
implementation. - Path
Segment - One segment of an endpoint URI template.
- Response
Body - The response body returned from a blocking endpoint.
- StdRequest
Deserializer - A request deserializer for standard body types.
- StdResponse
Serializer - A body serializer for standard response types.
Traits§
- Async
Deserialize Request - A trait implemented by response deserializers used by custom async Conjure server trait implementations.
- Async
Endpoint - A nonblocking HTTP endpoint.
- Async
Serialize Response - A trait implemented by response serializers used by custom async Conjure server trait implementations.
- Async
Service - An async Conjure service.
- Async
Write Body - A trait implemented by asynchronous streaming bodies.
- Decode
Header - A trait implemented by header decoders used by custom Conjure server trait implementations.
- Decode
Param - A trait implemented by URL parameter decoders used by custom Conjure server trait implementations.
- Deserialize
Request - A trait implemented by request body deserializers used by custom Conjure server trait implementations.
- Deserializer
State - An intermediate state between an
Encoding
andDeserializer
. - Encoding
- An encoding of HTTP bodies.
- Endpoint
- A blocking HTTP endpoint.
- Endpoint
Metadata - Metadata about an HTTP endpoint.
- Serialize
Response - A trait implemented by response serializers used by custom Conjure server trait implementations.
- Serializer
State - An intermediate state between an
Encoding
andSerializer
. - Service
- A blocking Conjure service.
- Write
Body - A trait implemented by streaming bodies.