HttpReturnHttpString

Returns a pointer to the string "http" if the connection is not associated with SSL and to the string "https" if the connection is an SSL connection.

Syntax

    #include <httpexp.h>
    
    char *HttpReturnHttpString (
       HINTERNET   hndl);
    

Parameters

hndl
(IN) Specifies the HTTP stack handle.

Return Values

If successful, returns a pointer to the “http” or “https” string in the request header. Otherwise, returns 0.

See Also