Simplified HTTP requests
Http2 got is a human-friendly and powerful HTTP1.1 / HTTP2 request library.
To be http2 compatible it uses http2-client. To make requests it uses got - expect the API to be identical just with http2 support.
#Motivation Got is a wonderfull module, it was just missing http2 support that was added with this module.
When using the module you are actually using the got
module not even a fork...
You can easilly achive it in the same manner without this module:
const {request} = require('http2-client');
const got = require('got');
const gotWithHttp2 = got.extend({
request
});
That's it! of course we have additional integration tests to validate this integration...
The API is identical to this of Got
.
To see the full API documentation:
Got Documentation