Skip to content
master
Go to file
Code

Latest commit

This is an initial implementation of Fetch API.

The following init options are supported:
body, headers, buffer_size (nginx specific), max_response_body_size
(nginx specific), method.

The following properties and methods of Response object are implemented:
arrayBuffer(), bodyUsed, json(), headers, ok, redirect, status, statusText,
text(), type, url.

The following properties and methods of Header object are implemented:
get(), getAll(), has().

Notable limitations: only http:// scheme is supported, redirects
are not handled.

In collaboration with 洪志道 (Hong Zhi Dao).
73c75e4

Git stats

Files

Permalink
Failed to load latest commit information.

README

NGINX JavaScript (njs)
----------

njs is a subset of the JavaScript language that allows extending nginx
functionality. njs is created in compliance with ECMAScript 5.1 (strict mode)
with some ECMAScript 6 and later extensions. The compliance is still evolving.

The documentation is available online:

  http://nginx.org/en/docs/njs/

Please ask questions, report issues, and send patches to the mailing list:

    nginx-devel@nginx.org (http://mailman.nginx.org/mailman/listinfo/nginx-devel)

or via Github:

    https://github.com/nginx/njs

--
NGINX, Inc., http://nginx.com