Detects the IP address from which the given HTTP request was received.
an HTTP request to process.
the detected IP address (without a port). If no IP is detected -
null
will be returned.
Detects the browser (using "user-agent") from which the given HTTP request was made.
an HTTP request to process.
the detected browser. Detectable browsers: "chrome", "msie", "firefox", "safari". Otherwise - "unknown" will be returned.
Detects the platform (using "user-agent") from which the given HTTP request was made.
an HTTP request to process.
the detected platform and version. Detectable platforms: "mobile", "iphone", "ipad", "macosx", "android", "webos", "mac", "windows". Otherwise - "unknown" will be returned.
Detects the host name of the request's destination server.
an HTTP request to process.
the destination server's host name.
Detects the request's destination port number.
an HTTP request to process.
the detected port number or 80
(if none are detected).
Generated using TypeDoc
Helper class that retrieves parameters from HTTP requests.