Refacotring; support HTTPs client.

This commit is contained in:
Adam Gu
2018-07-30 15:03:02 +08:00
parent 8a92fcb950
commit 3693d881c7
18 changed files with 604 additions and 182 deletions
+2
View File
@@ -41,6 +41,8 @@ const char* DescribeError(Error error) {
return "Host resolve error";
case kEndpointConnectError:
return "Endpoint connect error";
case kHandshakeError:
return "Handshake error";
case kSocketReadError:
return "Socket read error";
case kSocketWriteError: