mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 17:23:15 +02:00
relay: add connection to remote (issue #2066)
Connection to remote: - handshake: offer support for all supported hash algorithms - network connect with a socket - upgrade to websocket and authenticate with remote (password/TOTP) - check websocket response - get list of buffers (not used yet) Note: connection to remote with TLS or a proxy is not yet supported.
This commit is contained in:
@@ -172,7 +172,7 @@ relay_api_msg_send_json_internal (struct t_relay_client *client,
|
||||
string = cJSON_PrintUnformatted (json);
|
||||
num_bytes = relay_client_send (
|
||||
client,
|
||||
RELAY_CLIENT_MSG_STANDARD,
|
||||
RELAY_MSG_STANDARD,
|
||||
string,
|
||||
(string) ? strlen (string) : 0,
|
||||
NULL); /* raw_message */
|
||||
|
||||
Reference in New Issue
Block a user