Crate viceroy_lib

source ·
Expand description

Viceroy implementation details.

Re-exports§

Modules§

  • Body type, for request and response bodies.
  • Fastly-specific configuration utilities.
  • Error types.
  • Session type and related facilities.

Structs§

  • A custom Hyper client connector, which is needed to override Hyper’s default behavior of connecting to host specified by the request’s URI; we instead want to connect to the host specified by our backend configuration, regardless of what the URI says.
  • Execution context used by a ViceroyService.
  • A Viceroy service uses a Wasm module and a handler function to respond to HTTP requests.

Enums§