1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-02 17:01:14 -05:00
A modern runtime for JavaScript and TypeScript. https://deno.com/
Find a file
2018-11-08 04:01:20 -05:00
.travis.yml Add travis script 2018-11-07 14:23:06 -05:00
buffer.ts First pass at bufio.read tests. 2018-11-07 14:17:36 -05:00
buffer_test.ts Use https instead of http. 2018-11-07 23:22:33 -05:00
bufio.ts Add BufReader.peek() 2018-11-08 04:01:20 -05:00
bufio_test.ts Add BufReader.peek() 2018-11-08 04:01:20 -05:00
file_server.ts First pass at bufio.read tests. 2018-11-07 14:17:36 -05:00
http.ts First pass at bufio.read tests. 2018-11-07 14:17:36 -05:00
http_test.ts Use https instead of http. 2018-11-07 23:22:33 -05:00
iotest.ts Add bufio tests. 2018-11-07 20:28:01 -05:00
Makefile Add BufReader.peek() 2018-11-08 04:01:20 -05:00
README.md Add BufReader.peek() 2018-11-08 04:01:20 -05:00
test.ts Add travis script 2018-11-07 14:23:06 -05:00
util.ts Add BufReader.readSlice() 2018-11-07 23:19:08 -05:00

Deno Networking Libraries

Build Status

Usage:

import { serve } from "https://deno.land/x/net/http.ts";
const s = serve("0.0.0.0:8000");
for await (const req of s) {
  req.respond({ body: "Hello World\n" });
}