src/builder.js
/**
     * Extract some values from the given arguments,
     * and returns them inside a wrapper object
     * to be used in a CloudEvent data (sub-)property.
     *
     * @param {!object} request the request
     * @return {object} an object containing extracted attributes
     * @private
     */
Extract some values from the given arguments,
and returns them inside a wrapper object
to be used in a CloudEvent data (sub-)property.

@param {!object} request the request
@return {object} an object containing extracted attributes
@private
Extract some values from the given arguments and returns them inside a wrapper object to be used in a CloudEvent data ( sub - ) property . @param { !object } request the request @return { object } an object containing extracted attributes @private
buildRequestDataForCE (request) {
      return {
        id: request.id,
        headers: this.buildHeaders(request),
        clientIp: this.buildClientIP(request),
        params: request.params,
        query: request.query,
        body: request.body,
        method: request.req.method,
        url: request.req.url
      }
    }
buildRequestDataForCE ( request ) { return { id : request . id , headers : this . buildHeaders ( request ) , clientIp : this . buildClientIP ( request ) , params : request . params , query : request . query , body : request . body , method : request . req . method , url : request . req . url } }
Extract some values from the given arguments,
 and returns them inside a wrapper object
 to be used in a CloudEvent data (sub-)property.
Extract some values from the given arguments and returns them inside a wrapper object to be used in a CloudEvent data ( sub - ) property .