BramComyn / safeguard-fetch

0 stars 0 forks source link

Make wrapper compatible with HTTP/1.1 API in Node.js #35

Closed BramComyn closed 1 month ago

BramComyn commented 1 month ago

Feature description

Perhaps it would be possible to extend the functionality of the wrappers, so that they can detect what API they're working with and handle accordingly.

BramComyn commented 1 month ago

During the work of #37, I realised that it will be very hard to make this class compatible for both HTTP/1.1 and HTTP/2.0. Given that I was told to focus on the latter, I will probably not 'fix' this issue and start looking forward into creating some more examples of what I made available for HTTP/2.0