mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-28 13:49:01 +08:00
fix the doc error: htts to https
This commit is contained in:
parent
45a057b0c6
commit
542fe9f029
@ -3801,7 +3801,7 @@ isn't default port for URL protocol
|
||||
Usage example:
|
||||
|
||||
```c
|
||||
unsigned short port1 = mg_url_port("htts://myhost.com") // port1 is now 443 (default https port)
|
||||
unsigned short port1 = mg_url_port("https://myhost.com") // port1 is now 443 (default https port)
|
||||
unsigned short port2 = mg_url_port("127.0.0.1:567") // port2 is now 567
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user