This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use strict"; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| var _stream = require("stream"); | |
| const kWait = Symbol("wait"); | |
| const kNread = Symbol("nread"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use strict"; | |
| import http2 from "http2"; | |
| import SocketProxy from "./SocketProxy"; | |
| const Http2Server = http2.createServer().constructor; | |
| // HTTP2 preface from node-spdy | |
| const PREFACE_BUFFER = Buffer.from("PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"); | |
| const PREFACE_BUFFER_LENGTH = PREFACE_BUFFER.length; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * simple proxywrap - only plain mode | |
| * | |
| * BASE ON: node-proxywrap | |
| * | |
| * Copyright (c) 2013, Josh Dague | |
| * Copyright (c) 2018, webcarrot | |
| * All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| </head> | |
| <body> | |
| <script> | |
| (function(O, F) { | |
| "use strict"; |