media-controller

Methods

(inner) _extractMediaUrl(pathopt) → {string|undefined}

Source:
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)

Source:
Parameters:
Name Type Description
req module:api-controller~ExpressRequest

HTTP request

res module:api-controller~ExpressResponse

HTTP response

next function

Express callback