Methods
(inner) _extractMediaUrl(pathopt) → {string|undefined}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
path |
string |
<optional> |
path to media |
Returns:
path transformed to a URL
- Type
- string | undefined
(inner) getMedia(req, res, next)
Parameters:
Name | Type | Description |
---|---|---|
req |
module:api-controller~ExpressRequest | HTTP request |
res |
module:api-controller~ExpressResponse | HTTP response |
next |
function | Express callback |