A middleware module that extracts the data object out of the HTTP response from the network adapter.
data
const connector = createConnector(...) const api = connector("/movies/") api.read() { headers: {...}, data: [{ ... }, { ... }], ... } const newConnector = connector.apply(extractData) const api = newConnector("/movies/") api.read() [ { ... }, { ... } ]
A middleware module that extracts the
data
object out of the HTTP response from the network adapter.