httpReconnect static method

String httpReconnect(
  1. bool enable
)

Automatically try to reconnect to the stream in case of a sudden disconnect. (default disabled)

Implementation

static String httpReconnect(bool enable) {
  return enable ? '--http-reconnect' : '--no-http-reconnect';
}