Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 379 Bytes

req.host.md

File metadata and controls

28 lines (14 loc) · 379 Bytes

req.host

The hostname of this request, without the port number, as specified by its "Host" header.

Usage

req.host;

Example

If this request's "Host" header was: "ww3.staging.ibm.com:1492":

req.host;
// -> "ww3.staging.ibm.com"