Skip to content

Commit

Permalink
update HttpExecutor doc comment
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Dice <joel.dice@fermyon.com>
  • Loading branch information
dicej committed Jun 6, 2023
1 parent 84107d3 commit 132a32d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/manifest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ impl Default for HttpConfig {

/// The executor for the HTTP component.
/// The component can either implement the Spin HTTP interface,
/// or the Wagi CGI interface.
/// the `wasi-http` interface, or the Wagi CGI interface.
///
/// If an executor is not specified, the inferred default is `HttpExecutor::Spin`.
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
Expand All @@ -338,7 +338,8 @@ pub enum HttpExecutor {
Spin,
/// The component implements the Wagi CGI interface.
Wagi(WagiConfig),
/// The component implements [`wasi-http`](https://github.com/WebAssembly/wasi-http) interface (experimental, subject to change)
/// The component implements [`wasi-http`](https://github.com/WebAssembly/wasi-http)
/// interface (experimental, subject to change)
Wasi,
}

Expand Down

0 comments on commit 132a32d

Please sign in to comment.