RunKit + npm: http2-client

node v10.24.1
version: 1.0.0
endpointsharetweet
var {request} = require("http2-client") const h1Target = 'http://www.example.com/'; const req1 = request(h1Target, (res)=>{ console.log(` Url : ${h1Target} Status : ${res.statusCode} HttpVersion : ${res.httpVersion} `); }); req1.end(); req1.setTimeout(1,()=>req1.abort())
Created from: https://npm.runkit.com/http2-client
Loading…

no comments

    sign in to comment