Skip to content

moonbit-community/wasi-http-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Template

This is a project template for developing servers.

Prerequisites

In addition to MoonBit toolchain, you will need:

Get started

Execute just serve to have a running server listening at port 8080. Execute just test in another terminal to check the output. Execute just build release to get a release build under target/server.wasm.

  • Modify the top function in src/stub.mbt to implement your CLI application.
  • Modify the serve function if you need finer control on the event loop.

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors