mirror of
https://github.com/curl/curl.git
synced 2026-06-17 22:25:40 +03:00
docs: add mentions of MQTTS
This commit is contained in:
parent
5b6e0f8ffe
commit
7910eb2f40
8 changed files with 16 additions and 7 deletions
|
|
@ -21,7 +21,7 @@ The curl project produces two products:
|
|||
### libcurl
|
||||
|
||||
A client-side URL transfer library, supporting DICT, FILE, FTP, FTPS, GOPHER,
|
||||
GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP,
|
||||
GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, MQTTS, POP3, POP3S, RTMP,
|
||||
RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS.
|
||||
|
||||
libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading,
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
**curl** is a tool for transferring data from or to a server using URLs. It
|
||||
supports these protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS,
|
||||
IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP,
|
||||
SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS.
|
||||
IMAP, IMAPS, LDAP, LDAPS, MQTT, MQTTS, POP3, POP3S, RTMP, RTMPS, RTSP, SCP,
|
||||
SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS.
|
||||
|
||||
curl is powered by libcurl for all transfer-related features. See
|
||||
*libcurl(3)* for details.
|
||||
|
|
|
|||
|
|
@ -12,6 +12,10 @@ A plain "GET" subscribes to the topic and prints all published messages.
|
|||
|
||||
Doing a "POST" publishes the post data to the topic and exits.
|
||||
|
||||
## TLS protection
|
||||
|
||||
Use `mqtts://` to do MQTT over TLS: MQTTS.
|
||||
|
||||
### Subscribing
|
||||
|
||||
Command usage:
|
||||
|
|
|
|||
|
|
@ -51,6 +51,8 @@ CURLPROTO_IMAP
|
|||
CURLPROTO_IMAPS
|
||||
CURLPROTO_LDAP
|
||||
CURLPROTO_LDAPS
|
||||
CURLPROTO_MQTT
|
||||
CURLPROTO_MQTTS
|
||||
CURLPROTO_POP3
|
||||
CURLPROTO_POP3S
|
||||
CURLPROTO_RTMP
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@ set, it returns error.
|
|||
These are the available protocols:
|
||||
|
||||
DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS,
|
||||
MQTT, POP3, POP3S, RTMP, RTMPE, RTMPS, RTMPT, RTMPTE, RTMPTS, RTSP, SCP, SFTP,
|
||||
SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS, WSS
|
||||
MQTT, MQTTS, POP3, POP3S, RTMP, RTMPE, RTMPS, RTMPT, RTMPTE, RTMPTS, RTSP,
|
||||
SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS, WSS
|
||||
|
||||
You can set "ALL" as a short-cut to enable all protocols. Note that by setting
|
||||
all, you may enable protocols that were not supported the day you write this
|
||||
|
|
|
|||
|
|
@ -58,6 +58,8 @@ CURLPROTO_IMAP
|
|||
CURLPROTO_IMAPS
|
||||
CURLPROTO_LDAP
|
||||
CURLPROTO_LDAPS
|
||||
CURLPROTO_MQTT
|
||||
CURLPROTO_MQTTS
|
||||
CURLPROTO_POP3
|
||||
CURLPROTO_POP3S
|
||||
CURLPROTO_RTMP
|
||||
|
|
|
|||
|
|
@ -46,8 +46,8 @@ By default libcurl allows HTTP, HTTPS, FTP and FTPS on redirects (since
|
|||
These are the available protocols:
|
||||
|
||||
DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS,
|
||||
MQTT, POP3, POP3S, RTMP, RTMPE, RTMPS, RTMPT, RTMPTE, RTMPTS, RTSP, SCP, SFTP,
|
||||
SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS, WSS
|
||||
MQTT, MQTTS, POP3, POP3S, RTMP, RTMPE, RTMPS, RTMPT, RTMPTE, RTMPTS, RTSP,
|
||||
SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS, WSS
|
||||
|
||||
You can set "ALL" as a short-cut to enable all protocols. Note that by setting
|
||||
all, you may enable protocols that were not supported the day you write this
|
||||
|
|
|
|||
|
|
@ -184,6 +184,7 @@ Available substitute variables include:
|
|||
- `%IMAPPORT` - Port number of the IMAP server
|
||||
- `%LOGDIR` - Log directory relative to %PWD
|
||||
- `%MQTTPORT` - Port number of the MQTT server
|
||||
- `%MQTTSPORT` - Port number of the MQTTS server
|
||||
- `%NOLISTENPORT` - Port number where no service is listening
|
||||
- `%POP36PORT` - IPv6 port number of the POP3 server
|
||||
- `%POP3PORT` - Port number of the POP3 server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue