Compartilhar via


HCHttpCallRequestGetUrl

Gets the url and method for the HTTP call.

Syntax

HRESULT HCHttpCallRequestGetUrl(  
         HCCallHandle call,  
         const char** method,  
         const char** url  
)  

Parameters

call   _In_
Type: HCCallHandle

The handle of the HTTP call.

method   _Outptr_
Type: char**

UTF-8 encoded method for the HTTP call.

url   _Outptr_
Type: char**

UTF-8 encoded URL for the HTTP call.

Return value

Type: HRESULT

Result code for this API operation. Possible values are S_OK, E_INVALIDARG, or E_FAIL.

Requirements

Header: httpProvider.h

Library: libHttpClient.GDK.lib

See also

httpProvider