getProtocolWithDefault method

String getProtocolWithDefault(
  1. String defaultValue
)

Gets the connection protocol with default value.

  • defaultValue (optional) the default protocol return the connection protocol or the default value if it's not set.

Implementation

String getProtocolWithDefault(String defaultValue) {
  return super.getAsStringWithDefault('protocol', defaultValue);
}