HttpReturnRequestMethod

Returns the numerical value of the request method.

Syntax

    #include <httpexp.h>
    
    BOOL HttpReturnRequestMethod (
      HINTERNET    hndl,
      UINT32_PTR   httpRequestMethodType);
    

Parameters

hndl
(IN) Specifies the HTTP stack handle.
httpRequestMethodType
(OUT) Points to where the numerical equivalent of the request method text string is placed. For possible values, see Section 6.4, Request Method Types.

Return Values

Constant

Description

TRUE

Success.

FALSE

Failure; the handle is invalid.