Fix WebSocket uppercase

This commit is contained in:
Badlop 2022-02-11 15:22:14 +01:00
parent be0175fb70
commit c407b73803
3 changed files with 5 additions and 5 deletions

View File

@ -1376,14 +1376,14 @@ doc() ->
"protect against connections from other domains than given " "protect against connections from other domains than given "
"in the configuration file. In this way, the lower layer load " "in the configuration file. In this way, the lower layer load "
"balancer can be chosen for a specific ejabberd implementation " "balancer can be chosen for a specific ejabberd implementation "
"while still providing a secure Websocket connection. " "while still providing a secure WebSocket connection. "
"The default value is 'ignore'. An example value of the 'URL' is " "The default value is 'ignore'. An example value of the 'URL' is "
"\"https://test.example.org:8081\".")}}, "\"https://test.example.org:8081\".")}},
{websocket_ping_interval, {websocket_ping_interval,
#{value => "timeout()", #{value => "timeout()",
desc => desc =>
?T("Defines time between pings sent by the server to a client " ?T("Defines time between pings sent by the server to a client "
"(Websocket level protocol pings are used for this) to keep " "(WebSocket level protocol pings are used for this) to keep "
"a connection active. If the client doesn't respond to two " "a connection active. If the client doesn't respond to two "
"consecutive pings, the connection will be assumed as closed. " "consecutive pings, the connection will be assumed as closed. "
"The value of '0' can be used to disable the feature. This option " "The value of '0' can be used to disable the feature. This option "

View File

@ -207,7 +207,7 @@ mod_doc() ->
"It makes it possible to simulate long lived connections " "It makes it possible to simulate long lived connections "
"required by XMPP over the HTTP protocol. In practice, " "required by XMPP over the HTTP protocol. In practice, "
"this module makes it possible to use XMPP in a browser without " "this module makes it possible to use XMPP in a browser without "
"Websocket support and more generally to have a way to use " "WebSocket support and more generally to have a way to use "
"XMPP while having to get through an HTTP proxy."), "XMPP while having to get through an HTTP proxy."),
opts => opts =>
[{json, [{json,

View File

@ -133,9 +133,9 @@ mod_doc() ->
" websocket_url: \"ws://example.org:5280/websocket\""], " websocket_url: \"ws://example.org:5280/websocket\""],
opts => opts =>
[{websocket_url, [{websocket_url,
#{value => ?T("WebsocketURL"), #{value => ?T("WebSocketURL"),
desc => desc =>
?T("A websocket URL to which Converse.js can connect to.")}}, ?T("A WebSocket URL to which Converse.js can connect to.")}},
{bosh_service_url, {bosh_service_url,
#{value => ?T("BoshURL"), #{value => ?T("BoshURL"),
desc => desc =>