Skip to content

Create new section on how to use HTTP in components#336

Merged
kate-goldenring merged 1 commit intobytecodealliance:mainfrom
hakilebara:http-example
Apr 16, 2026
Merged

Create new section on how to use HTTP in components#336
kate-goldenring merged 1 commit intobytecodealliance:mainfrom
hakilebara:http-example

Conversation

@hakilebara
Copy link
Copy Markdown
Contributor

Create a new section in Creating Components that focuses on using HTTP in components.
It includes a Rust guide on how to create a basic Hello, world! HTTP component using wstd.

 ├── Creating Components
 │   └── Building a simple component
 │   └── Importing and reusing components
 │   └── Creating Runnable components
 │   └── Using WIT resources
+│   ├── Using HTTP in components
+|   |   └── Rust

#182

Copy link
Copy Markdown
Collaborator

@kate-goldenring kate-goldenring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Ran through it all in just a minute. Thank you for adding this! One small nit suggestion

Comment thread component-model/src/language-support/using-http-in-components/rust.md Outdated
Copy link
Copy Markdown
Collaborator

@kate-goldenring kate-goldenring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small reword and then i think we are good to go

Comment thread component-model/src/language-support/using-http-in-components/rust.md Outdated
@kate-goldenring
Copy link
Copy Markdown
Collaborator

kate-goldenring commented Apr 16, 2026

closes #182

@kate-goldenring kate-goldenring linked an issue Apr 16, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Collaborator

@vados-cosmonic vados-cosmonic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

I left a few nits -- please feel free to rewrite/reword things as you'd like. I've also tried to add more links to things that readers may not be immediately familiar with (for example if they just landed directly on this page).

Comment thread component-model/src/language-support/using-http-in-components/rust.md Outdated
Comment thread component-model/src/language-support/using-http-in-components/rust.md Outdated
Comment thread component-model/src/language-support/using-http-in-components/rust.md Outdated
Comment thread component-model/src/language-support/using-http-in-components/rust.md Outdated
Comment thread component-model/src/language-support/using-http-in-components/rust.md Outdated
Comment thread component-model/src/language-support/using-http-in-components/rust.md Outdated
Includes a Rust guide on creating an HTTP Wasm component with wstd.
@hakilebara
Copy link
Copy Markdown
Contributor Author

Thank you both, your feedback was very instructive. All suggestions have been integrated.

@kate-goldenring kate-goldenring merged commit d007e92 into bytecodealliance:main Apr 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add WASI HTTP example

3 participants