From b95d6a5b8a726468de939ddfdaa37600cb92faa4 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Fri, 9 Oct 2015 18:33:57 +0200 Subject: Added 'net sclient' command to NetworkTest plugin. --- Server/Plugins/NetworkTest/Info.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'Server/Plugins/NetworkTest/Info.lua') diff --git a/Server/Plugins/NetworkTest/Info.lua b/Server/Plugins/NetworkTest/Info.lua index d8c3095fe..2788d3674 100644 --- a/Server/Plugins/NetworkTest/Info.lua +++ b/Server/Plugins/NetworkTest/Info.lua @@ -90,6 +90,23 @@ g_PluginInfo = }, }, -- lookup + sclient = + { + HelpString = "Connects, as an SSL client, to a specified webpage (github.com by default) and downloads its front page using HTTPS", + Handler = HandleConsoleNetSClient, + ParameterCombinations = + { + { + Params = "", + Help = "Connects, as an SSL client, to github.com and downloads its front page using HTTPS", + }, + { + Params = "host [port]", + Help = "Connects, as an SSL client, to the specified host and downloads its front page using HTTPS", + }, + }, -- ParameterCombinations + }, -- sclient + udp = { Subcommands = -- cgit v1.2.3