[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/js/dist/ -> api-fetch.js (summary)

(no description)

File Size: 983 lines (36 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 35 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  _objectWithoutProperties()
  _objectWithoutPropertiesLoose()
  asyncGeneratorStep()
  _asyncToGenerator()
  _next()
  _throw()
  ownKeys()
  _objectSpread()
  createNonceMiddleware()
  middleware()
  namespace_endpoint_ownKeys()
  namespace_endpoint_objectSpread()
  root_url_ownKeys()
  root_url_objectSpread()
  getStablePath()
  createPreloadingMiddleware()
  fetch_all_middleware_ownKeys()
  fetch_all_middleware_objectSpread()
  http_v1_ownKeys()
  http_v1_objectSpread()
  httpV1Middleware()
  userLocaleMiddleware()
  parseAndThrowError()
  media_upload_ownKeys()
  media_upload_objectSpread()
  mediaUploadMiddleware()
  build_module_ownKeys()
  build_module_objectSpread()
  registerMiddleware()
  setFetchHandler()
  apiFetch()
  _defineProperty()

Functions
Functions that are not part of a class:

__webpack_require__(moduleId)   X-Ref
No description

getDefault()   X-Ref
No description

getModuleExports()   X-Ref
No description

_objectWithoutProperties(source, excluded)   X-Ref
No description

_objectWithoutPropertiesLoose(source, excluded)   X-Ref
No description

asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg)   X-Ref
No description

_asyncToGenerator(fn)   X-Ref
No description

_next(value)   X-Ref
No description

_throw(err)   X-Ref
No description

ownKeys(object, enumerableOnly)   X-Ref
No description

_objectSpread(target)   X-Ref
No description

createNonceMiddleware(nonce)   X-Ref
No description

middleware(options, next)   X-Ref
No description

namespace_endpoint_ownKeys(object, enumerableOnly)   X-Ref
No description

namespace_endpoint_objectSpread(target)   X-Ref
No description

root_url_ownKeys(object, enumerableOnly)   X-Ref
No description

root_url_objectSpread(target)   X-Ref
No description

getStablePath(path)   X-Ref
Given a path, returns a normalized path where equal query parameter values
will be treated as identical, regardless of order they appear in the original
text.

return: {string} Normalized path.
param: {string} path Original path.

createPreloadingMiddleware(preloadedData)   X-Ref
No description

fetch_all_middleware_ownKeys(object, enumerableOnly)   X-Ref
No description

fetch_all_middleware_objectSpread(target)   X-Ref
No description

http_v1_ownKeys(object, enumerableOnly)   X-Ref
No description

http_v1_objectSpread(target)   X-Ref
No description

httpV1Middleware(options, next)   X-Ref
API Fetch middleware which overrides the request method for HTTP v1
compatibility leveraging the REST API X-HTTP-Method-Override header.

return: {*} The evaluated result of the remaining middleware chain.
param: {Object}   options Fetch options.
param: {Function} next    [description]

userLocaleMiddleware(options, next)   X-Ref
WordPress dependencies


parseAndThrowError(response)   X-Ref
No description

media_upload_ownKeys(object, enumerableOnly)   X-Ref
No description

media_upload_objectSpread(target)   X-Ref
No description

mediaUploadMiddleware(options, next)   X-Ref
Middleware handling media upload failures and retries.

return: {*} The evaluated result of the remaining middleware chain.
param: {Object}   options Fetch options.
param: {Function} next    [description]

build_module_ownKeys(object, enumerableOnly)   X-Ref
No description

build_module_objectSpread(target)   X-Ref
No description

registerMiddleware(middleware)   X-Ref
No description

setFetchHandler(newFetchHandler)   X-Ref
Defines a custom fetch handler for making the requests that will override
the default one using window.fetch

param: {Function} newFetchHandler The new fetch handler

apiFetch(options)   X-Ref
No description

_defineProperty(obj, key, value)   X-Ref
No description



Generated : Thu Oct 22 08:20:02 2020 Cross-referenced by PHPXref