The options to construct the class.
Protected Readonly_The service used to log information in the terminal.
Protected Readonly_The node-fetch library. Since it's an ESM only module, Jimpex loads it on boot and makes it available on the container.
Protected Readonly_The service customization options.
The customization options.
Protected_Logs a request information into the terminal.
The request URL.
The options for the request.
Protected_Logs a response information into the terminal.
The response to log.
Makes a fetch request.
The URL to fetch.
The custom options for the request.
Creates a dictionary with all the custom headers a request has. By custom header it
means all the headers which name start with x-.
The request from which it will try to get the headers.
The options to customize the behavior with certain headers.
Tries to get the IP address from a given request.
The request from which it will try to obtain the IP address.
It takes a dictionary of headers and normalize the names so each word will start with an upper case character. This is helpful in case you added custom headers and didn't care about the casing, or when copying headers from a server request, as they all come transformed into lower case.
The dictionary of headers to normalize.
A set of utilities to work with HTTP requests and responses.