Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url: introduce native URL class for internal use #11801

Closed
wants to merge 1 commit into from

Commits on Mar 22, 2017

  1. 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.
    jasnell committed Mar 22, 2017
    Configuration menu
    Copy the full SHA
    5be93fd View commit details
    Browse the repository at this point in the history