client.js
/**
 * For non-objectMode streams we receive the response as either Buffer or
 * strings (Node also supports Uint8Arrays in streams, but message-stream will
 * always convert these to buffers)
 *
 * @param {Buffer[] | string[]} streamedResponse
 * @returns {Buffer | string}
 */
For non-objectMode streams we receive the response as either Buffer or
strings (Node also supports Uint8Arrays in streams, but message-stream will
always convert these to buffers)

@param {Buffer[] | string[]} streamedResponse
@returns {Buffer | string}
For non - objectMode streams we receive the response as either Buffer or strings ( Node also supports Uint8Arrays in streams but message - stream will always convert these to buffers ) @param { Buffer [] | string [] } streamedResponse @returns { Buffer | string }
function concatStreamedResponse(streamedResponse) {
  if (typeof streamedResponse[0] === 'string') {
    return  (streamedResponse).join('')
  }
  return Buffer.concat( (streamedResponse))
}
function concatStreamedResponse ( streamedResponse ) { if ( typeof streamedResponse [ 0 ] === 'string' ) { return ( streamedResponse ) . join ( '' ) } return Buffer . concat ( ( streamedResponse ) ) }
For non-objectMode streams we receive the response as either Buffer or
 strings (Node also supports Uint8Arrays in streams, but message-stream will
 always convert these to buffers)
For non - objectMode streams we receive the response as either Buffer or strings ( Node also supports Uint8Arrays in streams but message - stream will always convert these to buffers )
/** @type {string[]} */ /** @type {Buffer[]} */