http://中双斜杠//有什么用?
const int http=1;
const int https=2;
const int ws=3;
const int wss=4;
switch protocol {
case http://example.com
break;
case https://example.com
break;
case ws://example.com
break;
case wss://example.com
break;
default:
break;
}
#语言大师
const int http=1;
const int https=2;
const int ws=3;
const int wss=4;
switch protocol {
case http://example.com
break;
case https://example.com
break;
case ws://example.com
break;
case wss://example.com
break;
default:
break;
}
#语言大师
👍3