src/lib/Http.js
/**
   * @param {DataMockLocale=} locale The locale to set. When nothing is passed then it uses the default locale.
   */
@param {DataMockLocale=} locale The locale to set. When nothing is passed then it uses the default locale.
@param { DataMockLocale = } locale The locale to set . When nothing is passed then it uses the default locale .
locale(locale) {
    this.headers.locale(locale);
    this.payload.locale(locale);
    this.response.locale(locale);
    this[internetValue].locale(locale);
  }
locale ( locale ) { this . headers . locale ( locale ) ; this . payload . locale ( locale ) ; this . response . locale ( locale ) ; this [ internetValue ] . locale ( locale ) ; }
@param {DataMockLocale=} locale The locale to set.
@param { DataMockLocale = } locale The locale to set .