Skip to content

peter-jerry-ye/http-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 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

Watchers

Forks

Releases

No releases published

Packages

No packages published