Skip to content

Commit d0c2d67

Browse files
jasnellMylesBorins
authored andcommittedMar 28, 2017
src: add native URL class
Adds a URL native class for use within the node.js c/c++ code. This is primarily intended to be used by the eventual ES6 modules implementation but can be used generally wherever URL parsing within the c/c++ may be necessary. ```c URL url1("http://example.org"); URL url2("foo", "http://example.org/bar"); URL url3("baz", &url2); ``` While we're at it, reduce reliance on macros to simplify impl. PR-URL: #11801 Reviewed-By: Anna Henningsen <[email protected]>
1 parent 96ad336 commit d0c2d67

File tree

2 files changed

+365
-284
lines changed

2 files changed

+365
-284
lines changed
 

0 commit comments

Comments
 (0)
Please sign in to comment.