new skyring/lib/server/request(req)
Parameters:
Name | Type | Description |
---|---|---|
req |
IncommingMessage | An IncomingMessage from the node http module |
- Source:
Methods
-
get(header)
-
Returns the value of a header, if it exists
Parameters:
Name Type Description header
String The name of the header to lookup
- Source:
Returns:
The request header, if set
- Type
- String