asp.net.ph

HttpWorkerRequest.GetProtocol Method

System.Web Namespace   HttpWorkerRequest Class


When overridden in a derived class, returns the HTTP protocol ( HTTP or HTTPS ).

[ VB ]
<ComVisible ( False ) >
Overridable Public Function GetProtocol ( ) As String

[ C# ]
 [ ComVisible ( false ) ] 
public virtual string GetProtocol ( );

[ C++ ]
 [ ComVisible ( false ) ] 
public: virtual String* GetProtocol ( );

[ JScript ]
public ComVisible ( false ) 
function GetProtocol ( ) : String;

Return Value

HTTPS if the IsSecure method is true, otherwise HTTP.

See Also

HttpWorkerRequest Members   HttpRuntime Class Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note