Module source

Source

Modules§

asset_graph
combined
conditional
headers
issue_context
lazy_instantiated
query
request
route_tree
router
static_assets
wrapping_source

Structs§

Body
A request body.
ContentSourceData
Additional info passed to the ContentSource. It was extracted from the http request.
ContentSourceDataVary
Describes additional information that need to be sent to requests to ContentSource. By sending these information ContentSource responses are cached-keyed by them and they can access them.
ContentSources
This is a transparent value type wrapping Vec<ResolvedVc<Box<dyn ContentSource>>>.
GetContentSourceContents
This is a transparent value type wrapping Vec<ResolvedVc<Box<dyn GetContentSourceContent>>>.
HeaderList
A list of headers arranged as contiguous (name, value) pairs.
NoContentSource
An empty ContentSource implementation that responds with NotFound for every request.
ProxyResult
The result of proxying a request to another HTTP server.
Rewrite
A rewrite returned from a ContentSource. This tells the dev server to update its parsed url, path, and queries with this new information.
RewriteBuilder
StaticContent

Enums§

ContentSourceContent
The content of a result that is returned by a content source.
ContentSourceDataFilter
Filter function that describes which information is required.
RewriteType

Traits§

ContentSource
A source of content that the dev server uses to respond to http requests.
ContentSourceExt
ContentSourceSideEffect
This trait can be emitted as collectible and will be applied after the request is handled and it’s ensured that it finishes before the next request is handled.
GetContentSourceContent
A functor to receive the actual content of a content source result.

Type Aliases§

BodyChunk