Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Set the HTTP status code to return for the mock.
Syntax
HRESULT HCMockResponseSetStatusCode(
HCMockCallHandle call,
uint32_t statusCode
)
Parameters
call _In_
Type: HCMockCallHandle
The handle of the HTTP call.
statusCode _In_
Type: uint32_t
the HTTP status code of the HTTP call response.
Return value
Type: HRESULT
Result code for this API operation. Possible values are S_OK, E_INVALIDARG, or E_FAIL.
Requirements
Header: mock.h
Library: libHttpClient.GDK.lib