1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
A modern runtime for JavaScript and TypeScript. https://deno.com/
Find a file
Ryan Dahl 9b78509ceb wip
Original: ad578ab6fe
2018-11-08 18:15:26 -05:00
.travis.yml Simplify travis. 2018-11-08 11:58:41 -05:00
buffer.ts First pass at TextProtoReader. 2018-11-08 12:26:20 -05:00
buffer_test.ts Use https instead of http. 2018-11-07 23:22:33 -05:00
bufio.ts wip 2018-11-08 18:15:26 -05:00
bufio_test.ts First pass at TextProtoReader. 2018-11-08 12:26:20 -05:00
file_server.ts First pass at bufio.read tests. 2018-11-07 14:17:36 -05:00
headers.ts Add tests for TextProtoReader.readMIMEHeader() 2018-11-08 12:58:43 -05:00
http.ts wip 2018-11-08 18:15:26 -05:00
http_test.ts Use async iterators for http server. 2018-11-08 15:07:37 -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 First pass at TextProtoReader. 2018-11-08 12:26:20 -05:00
textproto.ts Add tests for TextProtoReader.readMIMEHeader() 2018-11-08 12:58:43 -05:00
textproto_test.ts Add tests for TextProtoReader.readMIMEHeader() 2018-11-08 12:58:43 -05:00
util.ts First pass at TextProtoReader. 2018-11-08 12:26:20 -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" });
}