_requestHandler(req, res) {
    if (req.url === '/api/v4/user') {
      this._json(res, { id: '1234', username: 'release_bot' });
      return;
    }

    if (req.url.startsWith('/api/v4/projects') && req.url.endsWith('/members/all/1234')) {
      this._json(res, { access_level: 50 });
      return;
    }

    this._text(res, 'Ok');
  }
@private

Server's main request handler

@param {IncomingMessage} req
@param {RequestResponse} res
@returns {void}