toValue method
Implementation
String toValue() {
switch (this) {
case HttpVersion.http1_1:
return 'http1.1';
case HttpVersion.http2:
return 'http2';
}
}
String toValue() {
switch (this) {
case HttpVersion.http1_1:
return 'http1.1';
case HttpVersion.http2:
return 'http2';
}
}