async start () {
    this._log('starting')

    const ipfs = this._ipfs

    const config = await ipfs.config.getAll()
    const headers = (config.API && config.API.HTTPHeaders) || {}
    const apiAddrs = (config.Addresses && config.Addresses.API) || []

    this._apiServers = await serverCreator(apiAddrs, this._createApiServer, ipfs, {
      origin: headers['Access-Control-Allow-Origin'] || [],
      credentials: Boolean(headers['Access-Control-Allow-Credentials'])
    })

    this._log('started')
    return this
  }
/**
   * Starts the IPFS HTTP server
   *
   * @returns {Promise<HttpApi>}
   */
Starts the IPFS HTTP server
@returns {Promise}
Starts the IPFS HTTP server @returns { Promise }
async start () {
    this._log('starting')
    const ipfs = this._ipfs
    const config = await ipfs.config.getAll()
    const headers = (config.API && config.API.HTTPHeaders) || {}
    const apiAddrs = (config.Addresses && config.Addresses.API) || []
    this._apiServers = await serverCreator(apiAddrs, this._createApiServer, ipfs, {
      origin: headers['Access-Control-Allow-Origin'] || [],
      credentials: Boolean(headers['Access-Control-Allow-Credentials'])
    })
    this._log('started')
    return this
  }
async start ( ) { this . _log ( 'starting' ) const ipfs = this . _ipfs const config = await ipfs . config . getAll ( ) const headers = ( config . API && config . API . HTTPHeaders ) || { } const apiAddrs = ( config . Addresses && config . Addresses . API ) || [ ] this . _apiServers = await serverCreator ( apiAddrs , this . _createApiServer , ipfs , { origin : headers [ 'Access-Control-Allow-Origin' ] || [ ] , credentials : Boolean ( headers [ 'Access-Control-Allow-Credentials' ] ) } ) this . _log ( 'started' ) return this }
Starts the IPFS HTTP server
 @returns {Promise<HttpApi>}
Starts the IPFS HTTP server @returns { Promise<HttpApi > }