$Web Protocol: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
(Automatically generated page update)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:$Web_Protocol}}
{{DISPLAYTITLE:$Web_Protocol}}
<span class="pageSubtitle"><section begin="desc" />Get security protocol being used for a request<section end="desc" /></span>
<span class="pageSubtitle">Get security protocol being used for a request</span>






$Web_Protocol returns an indicator of the network security protocol, if any, being used for a connection. SSL (Secure Sockets Layer) and TLS (Transport Layer Security) are the protocols supported by Janus. The SSLPROT parameter of the JANUS DEFINE command for this server stipulates the specific protocols available for this port. The server and its clients negotiate the security protocol that their connection will use.
<var>$Web_Protocol</var> returns an indicator of the network security protocol, if any, being used for a connection. SSL (Secure Sockets Layer) and TLS (Transport Layer Security) are the protocols supported by Janus. The SSLPROT parameter of the JANUS DEFINE command for this server stipulates the specific protocols available for this port. The server and its clients negotiate the security protocol that their connection will use.
==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /><span class="term">%rc</span> = $Web_Protocol
<p class="syntax"><span class="term">%rc</span> = $Web_Protocol
<section end="syntax" /></p>
</p>




$Web_Protocol takes no arguments and returns a status code.
<var>$Web_Protocol</var> takes no arguments and returns a status code.
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>Code</th>
<tr><th>Code</th>

Latest revision as of 18:18, 10 April 2013

Get security protocol being used for a request


$Web_Protocol returns an indicator of the network security protocol, if any, being used for a connection. SSL (Secure Sockets Layer) and TLS (Transport Layer Security) are the protocols supported by Janus. The SSLPROT parameter of the JANUS DEFINE command for this server stipulates the specific protocols available for this port. The server and its clients negotiate the security protocol that their connection will use.

Syntax

%rc = $Web_Protocol


$Web_Protocol takes no arguments and returns a status code.

Code Meaning
0 Not on a secure port, or not a Web Server thread.
1 Web Server thread running on a secure port using SSL, V2.
2 Web Server thread running on a secure port using SSL, V3.
4 Web Server thread running on a secure port using TLS, V1.

$WEB_PROTOCOL return codes