x/bansa@0.0.1/test.ts

Web Server for Deno Using Proxy
GitHub Stars
0
Latest
//deno run --allow-net test.tsimport { Bansa, listen } from './mod.ts'
const client = Bansa;
client['/'] = (req: Request) => { return new Response(`User-Agent: ${req.headers.get('User-Agent')}`);}
listen({ port: 8080 });