Zekfad / nhentai-api

Node.JS client for nhentai.net undocumented API.
https://zekfad.github.io/nhentai-api/
ISC License
42 stars 6 forks source link

Replace `host` with `authority` #26

Open Zekfad opened 1 year ago

Zekfad commented 1 year ago

In current state host option can only be used with only host (domain/ip address). For reference we can use dart behavior: https://github.com/Zekfad/nhentai_dart/blob/master/lib/src/hosts/http_host.dart There Uri class has authority option, that includes domain/ip, authorization and port number.