Add websocket client

This commit is contained in:
2025-05-17 18:23:04 -05:00
parent cfebdcbe69
commit 69ae5aa5cf
11 changed files with 599 additions and 117 deletions

View File

@@ -74,9 +74,9 @@ namespace Tesses::Framework::Http {
{
if(this->port != 0) return this->port;
if(this->scheme == "http:")
if(this->scheme == "http:" || this->scheme == "ws:")
return 80;
if(this->scheme == "https:")
if(this->scheme == "https:" || this->scheme == "wss:")
return 443;
if(this->scheme == "sftp:")
return 22;