WS_HTTP_REDIRECT_CALLBACK_CONTEXT structure (webservices.h)

Specifies the callback function and state for controlling the HTTP auto redirection behavior.

See also, WS_HTTP_REDIRECT_CALLBACK_CONTEXT and WS_CHANNEL_PROPERTY_HTTP_REDIRECT_CALLBACK_CONTEXT.

Syntax

typedef struct _WS_HTTP_REDIRECT_CALLBACK_CONTEXT {
  WS_HTTP_REDIRECT_CALLBACK callback;
  void                      *state;
} WS_HTTP_REDIRECT_CALLBACK_CONTEXT;

Members

callback

Application specific callback for controlling HTTP auto redirections.

state

Application specific state that would be made available to the callback upon its invocation.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header webservices.h