HCAddCallRoutedHandler

Adds a callback to be invoked on intermediate http calls in order to debug or trace the traffic.

Syntax

int32_t HCAddCallRoutedHandler(  
         HCCallRoutedHandler handler,  
         void* context  
)  

Parameters

handler   _In_
Type: HCCallRoutedHandler

The handler to be called.

context   _In_opt_
Type: void*

Client context to pass to callback function.

Return value

Type: int32_t

An unique id that can be used to remove the handler.

Requirements

Header: httpClient.h

Library: libHttpClient.141.GSDK.C.lib

See also

httpClient