Thanks to visit codestin.com
Credit goes to github.com

Skip to content

aslilac/stego

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stego

Deno.serve for Gleam ✨

Read the documentation

import gleam/http/response
import gleam/javascript/promise
import stego

pub fn main() {
  stego.serve(fn (_request) {
    response.new(200)
    |> response.set_header("content-type", "text/html; charset=utf-8")
    |> response.set_body("<h1>hoi!</h1>")
    |> promise.resolve()
  })
}

About

Deno.serve for Gleam ✨

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published